-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: enhance jest test reliability (#800)
* feat: manually set new mongo db server per test setup instead of relying on @shelf/mongodb * fix(temp): use isolatedModules in ts-jest `isolatedModules` being set to true will fix a memory leak in ts-jest. However, type checking will not be performed whilst running tests (will still have type checking when writing tests). Revert after the memory leak is fixed. See kulshekhar/ts-jest#1967 See: https://kulshekhar.github.io/ts-jest/user/config/isolatedModules * ref: use mongodb-memory-server-core instead of mongodb-memory-server * chore(tests): inline mongo memory server generation * chore: remove unused jest-environment-node dependency
- Loading branch information
Showing
10 changed files
with
48 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.