diff --git a/jest.config.ts b/jest.config.ts index 66fb5db..88f0430 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -10,7 +10,7 @@ const config: JestConfigWithTsJest = { extensionsToTreatAsEsm: [".ts", ".tsx"], setupFilesAfterEnv: ["/src/jest.setup.ts"], transform: { - "^.+\\.tsx?$": [ + "^.+\\.(js|jsx|ts|tsx)$": [ "ts-jest", { diagnostics: { @@ -27,5 +27,6 @@ const config: JestConfigWithTsJest = { }, ], }, + transformIgnorePatterns: [], }; export default config;