diff options
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jest.config.js b/jest.config.js index ba4ed9cd2..6639ca88b 100644 --- a/jest.config.js +++ b/jest.config.js | |||
@@ -1,8 +1,8 @@ | |||
1 | /** @type {import('@jest/types').Config.InitialOptions} */ | ||
2 | /* | 1 | /* |
3 | * For a detailed explanation regarding each configuration property and type check, visit: | 2 | * For a detailed explanation regarding each configuration property and type check, visit: |
4 | * https://jestjs.io/docs/configuration | 3 | * https://jestjs.io/docs/configuration |
5 | */ | 4 | */ |
5 | /** @type {import('@jest/types').Config.InitialOptions} */ | ||
6 | module.exports = { | 6 | module.exports = { |
7 | // Automatically clear mock calls, instances and results before every test | 7 | // Automatically clear mock calls, instances and results before every test |
8 | clearMocks: true, | 8 | clearMocks: true, |
@@ -31,8 +31,8 @@ module.exports = { | |||
31 | '/src/internal-server', | 31 | '/src/internal-server', |
32 | ], | 32 | ], |
33 | 33 | ||
34 | "transform": { | 34 | transform: { |
35 | "^.+\\.tsx?$": "esbuild-runner/jest", | 35 | '^.+\\.tsx?$': 'esbuild-runner/jest', |
36 | "^.+\\.ts?$": "esbuild-runner/jest" | 36 | '^.+\\.ts?$': 'esbuild-runner/jest', |
37 | } | 37 | }, |
38 | }; | 38 | }; |