refactor(ccdaservice): improve DataStack class (#6718)
commit787c3da9266253c9beb5e14f7722599a8776de0b
authorraskolnikov-rodion <22417165+raskolnikov-rodion@users.noreply.github.com>
Wed, 9 Aug 2023 21:35:18 +0000 (9 22:35 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2023 21:35:18 +0000 (9 14:35 -0700)
tree9b90966e9960855d9e39f4ec9e8c5b4be91e8cd7
parent54ed6bed2cac0119166ac2b0b726b5f7b0b59bcb
refactor(ccdaservice): improve DataStack class (#6718)

* chore(deps): add jest as dev dependency

* chore(deps): update package-lock.json

* feat(ccdaservice): encapsulate DataStack

* test(ccdaservice): create tests for DataStack class

* refactor(ccdaservice): import and use DataStack from class file

* chore(deps): pin jest version

* refactor(ci): improve lint:js-fix script

* chore(eslint): support for jest

* chore(ci): create step for JS unit tests

* chore(deps): pin package versions
.eslintrc.json
.github/workflows/js-test.yml [new file with mode: 0644]
ccdaservice/data-stack/data-stack.js [new file with mode: 0644]
ccdaservice/data-stack/data-stack.spec.js [new file with mode: 0644]
ccdaservice/package-lock.json
ccdaservice/serveccda.js
jest.config.js [new file with mode: 0644]
package-lock.json
package.json