diff --git a/jest.config.js b/jest.config.js index 35ec677..87ca726 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,11 +1,8 @@ module.exports = { - preset: "ts-jest", testEnvironment: "jsdom", testMatch: ["**/src/**/*.test.ts?(x)"], resolver: "/jest.resolver.cjs", - globals: { - "ts-jest": { - tsconfig: "/tsconfig.jest.json" - } + transform: { + "^.+.tsx?$": ["ts-jest", {tsconfig: "/tsconfig.jest.json"}], } }