feat: Add global hooks for jest

This commit is contained in:
Faruk AYDIN
2023-10-01 17:20:07 +02:00
parent 4d454ec932
commit 0e5529b4ca
3 changed files with 25 additions and 1 deletions

View File

@@ -2,4 +2,6 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
setupFilesAfterEnv: ['./test/setup/global-hooks.ts'],
globalTeardown: './test/setup/global-teardown.ts',
};