aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.js
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-28 17:03:38 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-28 17:04:59 +0100
commit38be1a3954a4583af4b0507993ccde982911648d (patch)
tree0d5e38b634a2f17d4063cbdd6bf6f245abfe4e2e /jest.config.js
parentbuild: Refactor electron-builder config (diff)
downloadsophie-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.js7
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} */
4module.exports = { 4module.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',