diff options
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js index 1924169..6943513 100644 --- a/jest.config.js +++ b/jest.config.js | |||
@@ -1,8 +1,13 @@ | |||
1 | // @ts-check | 1 | // @ts-check |
2 | 2 | ||
3 | /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ | 3 | /** @type {import('ts-jest').InitialOptionsTsJest} */ |
4 | module.exports = { | 4 | module.exports = { |
5 | preset: 'ts-jest', | 5 | preset: 'ts-jest', |
6 | globals: { | ||
7 | 'ts-jest': { | ||
8 | isolatedModules: true, | ||
9 | }, | ||
10 | }, | ||
6 | resetMocks: true, | 11 | resetMocks: true, |
7 | restoreMocks: true, | 12 | restoreMocks: true, |
8 | testEnvironment: 'node', | 13 | testEnvironment: 'node', |