Skip to content

Commit 30168f8

Browse files
committedNov 19, 2020
Temp-fix: Use isolatedModules in ts-jest
This will prevent a huge memory leak at the expense of type checking in our tests. Once there is a better fix we should consider reverting this. See: kulshekhar/ts-jest#1967 See: https://kulshekhar.github.io/ts-jest/user/config/isolatedModules
1 parent 2cf17c1 commit 30168f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎jest.config.base.js

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const config = {
2929
],
3030
globals: {
3131
'ts-jest': {
32+
isolatedModules: true,
3233
tsConfig: path.resolve(__dirname, 'tsconfig.nodejs.json')
3334
}
3435
}

0 commit comments

Comments
 (0)
Please sign in to comment.