Skip to content

Commit 39a947c

Browse files
viceicerarkins
andauthoredNov 6, 2021
test: reduce memory footprint (renovatebot#12517)
* test: reduce memory footprint * test: use new ts config Co-authored-by: Rhys Arkins <[email protected]>
1 parent 2b8fcd4 commit 39a947c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎jest.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const config: InitialOptionsTsJest = {
3636
testRunner: 'jest-circus/runner',
3737
globals: {
3838
'ts-jest': {
39+
tsconfig: '<rootDir>/tsconfig.spec.json',
3940
diagnostics: false,
4041
isolatedModules: true,
4142
},

‎tsconfig.spec.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"allowJs": false,
5+
"checkJs": false
6+
}
7+
}

0 commit comments

Comments
 (0)