diff --git a/jest.config.js b/jest.config.js index 8d110b6..9316b73 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: ['ts', 'js'], + transform: { + '^.+\\.ts$': [ + 'ts-jest', + { + diagnostics: false, + isolatedModules: true, + }, + ], + }, }