You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: