diff --git a/jest.config.js b/jest.config.js index 378d3c92c..f912e2702 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,13 +1,15 @@ module.exports = { - globals: { - 'ts-jest': { - diagnostics: false, - isolatedModules: true, - }, - }, injectGlobals: false, - preset: 'ts-jest', testEnvironment: 'node', roots: ['./src/', './test/'], moduleFileExtensions: ['js', 'ts'], + transform: { + '^.+\\.ts$': [ + 'ts-jest', + { + diagnostics: false, + isolatedModules: true, + }, + ], + }, }