diff --git a/jest.config.js b/jest.config.js index 3abcbd94..43a2d339 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,7 @@ /** @type {import('ts-jest').JestConfigWithTsJest} */ module.exports = { - preset: "ts-jest", + transform: { + "^.+\\.tsx?$": ["ts-jest", { isolatedModules: true }], + }, testEnvironment: "node", };