diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-28 17:03:38 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-28 17:04:59 +0100 |
commit | 38be1a3954a4583af4b0507993ccde982911648d (patch) | |
tree | 0d5e38b634a2f17d4063cbdd6bf6f245abfe4e2e /jest.config.js | |
parent | build: Refactor electron-builder config (diff) | |
download | sophie-38be1a3954a4583af4b0507993ccde982911648d.tar.gz sophie-38be1a3954a4583af4b0507993ccde982911648d.tar.zst sophie-38be1a3954a4583af4b0507993ccde982911648d.zip |
build: Disable typechecking for tests
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js index 1924169..6943513 100644 --- a/jest.config.js +++ b/jest.config.js | |||
@@ -1,8 +1,13 @@ | |||
1 | // @ts-check | 1 | // @ts-check |
2 | 2 | ||
3 | /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ | 3 | /** @type {import('ts-jest').InitialOptionsTsJest} */ |
4 | module.exports = { | 4 | module.exports = { |
5 | preset: 'ts-jest', | 5 | preset: 'ts-jest', |
6 | globals: { | ||
7 | 'ts-jest': { | ||
8 | isolatedModules: true, | ||
9 | }, | ||
10 | }, | ||
6 | resetMocks: true, | 11 | resetMocks: true, |
7 | restoreMocks: true, | 12 | restoreMocks: true, |
8 | testEnvironment: 'node', | 13 | testEnvironment: 'node', |