diff --git a/jest.config.js b/jest.config.js index 6597b77c..61697014 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,4 @@ module.exports = { - preset: 'ts-jest', reporters: [ 'default', [ 'jest-junit', { @@ -14,9 +13,7 @@ module.exports = { testEnvironment: 'node', clearMocks: true, // https://kulshekhar.github.io/ts-jest/docs/getting-started/options/isolatedModules - globals: { - 'ts-jest': { - isolatedModules: true, - }, + transform: { + '^.+\\.tsx?$': ['ts-jest', { isolatedModules: true }] }, }; \ No newline at end of file