Skip to content

Commit 63c3ff1

Browse files
committed
test(ts-jest): enable isolatedModules
1 parent 5fae61c commit 63c3ff1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

jest.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
module.exports = {
2-
clearMocks: true,
2+
globals: {
3+
'ts-jest': {
4+
isolatedModules: true
5+
}
6+
},
37
preset: 'ts-jest',
48
testEnvironment: 'node',
59
testMatch: ['<rootDir>/__tests__/**/*.test.ts'],

0 commit comments

Comments
 (0)