Per review, comment out transform configuration

We are using the default one, no need to actually specify it, and also
updated the documentaion link to the latest documentation.
This commit is contained in:
Gaetan Craig-Riou
2025-11-14 10:32:14 +11:00
parent b96a0875f3
commit b9a790ba20

View File

@@ -175,8 +175,8 @@ module.exports = {
// } // }
// A map from regular expressions to paths to transformers // A map from regular expressions to paths to transformers
// https://jest-archive-august-2023.netlify.app/docs/28.x/configuration/#transform-objectstring-pathtotransformer--pathtotransformer-object // https://jestjs.io/docs/configuration#transform-objectstring-pathtotransformer--pathtotransformer-object
transform: { "\\.[jt]sx?$": "babel-jest" }, // transform: { "\\.[jt]sx?$": "babel-jest" },
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
transformIgnorePatterns: ["/node_modules/(?!(stimulus.+)/)"], transformIgnorePatterns: ["/node_modules/(?!(stimulus.+)/)"],