diff --git a/internal/testing/jest-config.ts b/internal/testing/jest-config.ts index 9fece73..34aca07 100644 --- a/internal/testing/jest-config.ts +++ b/internal/testing/jest-config.ts @@ -30,7 +30,7 @@ const jestConfig: Config.InitialOptions = { transform: { "^.+\\.(t)sx?$": ["@swc/jest", swc] }, setupFiles: ["/internal/testing/jest-setup.ts"], testPathIgnorePatterns: ["node_modules", ".cache", "public"], - transformIgnorePatterns: ["node_modules/(?!(gatsby)/)"], + transformIgnorePatterns: [`node_modules/(?!(gatsby|gatsby-script)/)`], }; export default jestConfig;