integration tests cant be run in parallel as concurrent database access / initialization between tests is causing errors
currently I put in a hacky workaround:
"integration-jest": "tsc && jest --coverage dist/test/integration/index.spec.js && jest --coverage dist/test/integration/lick.spec.js && jest --coverage dist/test/integration/user.spec.js",
which explicitly runs each integration test, but this comes at the cost of losing overall code coverage metrics for integration tests. In addition, integration tests and unit tests must be run separately.
It would be nice to figure this out, tried a couple common ways but couldn't find a way which worked.
integration tests cant be run in parallel as concurrent database access / initialization between tests is causing errors
currently I put in a hacky workaround:
which explicitly runs each integration test, but this comes at the cost of losing overall code coverage metrics for integration tests. In addition, integration tests and unit tests must be run separately.
It would be nice to figure this out, tried a couple common ways but couldn't find a way which worked.