mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 23:09:16 +01:00
fix(testing): change transform
This commit is contained in:
parent
4bbde98f80
commit
89dbd35528
@ -27,9 +27,9 @@ const jestConfig: Config.InitialOptions = {
|
|||||||
"gatsby-plugin-utils/$1",
|
"gatsby-plugin-utils/$1",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
transform: { "^.+\\.(t)sx?$": ["@swc/jest", swc] },
|
transform: { "^.+\\.[jt]sx?$": ["@swc/jest", swc] },
|
||||||
setupFiles: ["<rootDir>/internal/testing/jest-setup.ts"],
|
setupFiles: ["<rootDir>/internal/testing/jest-setup.ts"],
|
||||||
testPathIgnorePatterns: ["node_modules", ".cache", "public"],
|
testPathIgnorePatterns: ["node_modules", "\\.cache", "<rootDir>.*/public"],
|
||||||
transformIgnorePatterns: ["node_modules/(?!(gatsby|gatsby-script)/)"],
|
transformIgnorePatterns: ["node_modules/(?!(gatsby|gatsby-script)/)"],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user