test: reduce memory footprint (#12517)
* test: reduce memory footprint * test: use new ts config Co-authored-by: Rhys Arkins <rhys@arkins.net>
This commit is contained in:
Родитель
2b8fcd445e
Коммит
39a947ce05
|
@ -36,6 +36,7 @@ const config: InitialOptionsTsJest = {
|
|||
testRunner: 'jest-circus/runner',
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||
diagnostics: false,
|
||||
isolatedModules: true,
|
||||
},
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"extends": "./tsconfig",
|
||||
"compilerOptions": {
|
||||
"allowJs": false,
|
||||
"checkJs": false
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче