mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 14:59:14 +01:00
fix(testing): add gatsby-script to transformIgnorePatterns
This commit is contained in:
parent
bf210c6bde
commit
e852578a71
@ -30,7 +30,7 @@ const jestConfig: Config.InitialOptions = {
|
|||||||
transform: { "^.+\\.(t)sx?$": ["@swc/jest", swc] },
|
transform: { "^.+\\.(t)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", "public"],
|
||||||
transformIgnorePatterns: ["node_modules/(?!(gatsby)/)"],
|
transformIgnorePatterns: [`node_modules/(?!(gatsby|gatsby-script)/)`],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default jestConfig;
|
export default jestConfig;
|
||||||
|
Loading…
Reference in New Issue
Block a user