Skip to content

find a way to run integration tests sequentially #31

@isaaccormack

Description

@isaaccormack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions