diff options
Diffstat (limited to '')
| -rw-r--r-- | jest.config.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/jest.config.js b/jest.config.js index e972c2d..0170761 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,9 +1,10 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', - globals: { - 'ts-jest': { - tsConfig: 'tsconfig.spec.json', - }, + transform: { + '^.+\\.tsx?$': [ + 'ts-jest', + { tsconfig: './tsconfig.spec.json' }, + ], }, }; |
