Fix jest tests by transforming also node_modules files (#739)
This commit is contained in:
parent
5b4a638f12
commit
7626c150ed
@ -10,7 +10,7 @@ const config: JestConfigWithTsJest = {
|
||||
extensionsToTreatAsEsm: [".ts", ".tsx"],
|
||||
setupFilesAfterEnv: ["<rootDir>/src/jest.setup.ts"],
|
||||
transform: {
|
||||
"^.+\\.tsx?$": [
|
||||
"^.+\\.(js|jsx|ts|tsx)$": [
|
||||
"ts-jest",
|
||||
{
|
||||
diagnostics: {
|
||||
@ -27,5 +27,6 @@ const config: JestConfigWithTsJest = {
|
||||
},
|
||||
],
|
||||
},
|
||||
transformIgnorePatterns: [],
|
||||
};
|
||||
export default config;
|
||||
|
Loading…
x
Reference in New Issue
Block a user