This project follows Organizing Tests in Jest ## Installation and usage (For non windows users)
npm i
npm run test:test (for test environment)
npm run test:stage (for stage environment)
npm run test:prod (for prod environment)
Before starting to test you have to set environment variable like this: $env:NODE_ENV="test"
npm i
npm run wtest:test (for test environment)
npm run wtest:stage (for stage environment)
npm run wtest:prod (for prod environment)
npm run lint
Ensure that there are no errors or warnings.
vscode-jest extension is stongly recommended.
todo: Junit will be used for Jest reporter.