Skip to content

Commit

Permalink
test: reduce memory footprint (#12517)
Browse files Browse the repository at this point in the history
* test: reduce memory footprint

* test: use new ts config

Co-authored-by: Rhys Arkins <[email protected]>
  • Loading branch information
viceice and rarkins authored Nov 6, 2021
1 parent 2b8fcd4 commit 39a947c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const config: InitialOptionsTsJest = {
testRunner: 'jest-circus/runner',
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig.spec.json',
diagnostics: false,
isolatedModules: true,
},
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"allowJs": false,
"checkJs": false
}
}

0 comments on commit 39a947c

Please sign in to comment.