diff --git a/jest.config.js b/jest.config.js index 01afeb8..d8ae6c0 100644 --- a/jest.config.js +++ b/jest.config.js @@ -167,7 +167,9 @@ module.exports = { // timers: "real", // A map from regular expressions to paths to transformers - // transform: null, + transform: { + "^.+\\.[t|j]sx?$": "babel-jest" + } // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation // transformIgnorePatterns: [