* test: reduce memory footprint

* test: use new ts config

Co-authored-by: Rhys Arkins <rhys@arkins.net>
This commit is contained in:
Michael Kriese 2021-11-06 08:35:15 +01:00 коммит произвёл GitHub
Родитель 2b8fcd445e
Коммит 39a947ce05
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -36,6 +36,7 @@ const config: InitialOptionsTsJest = {
testRunner: 'jest-circus/runner',
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig.spec.json',
diagnostics: false,
isolatedModules: true,
},

7
tsconfig.spec.json Normal file
Просмотреть файл

@ -0,0 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"allowJs": false,
"checkJs": false
}
}