diff --git a/jest.config.js b/jest.config.js index 14c44a7..a9a62f6 100644 --- a/jest.config.js +++ b/jest.config.js @@ -168,7 +168,7 @@ module.exports = { // A map from regular expressions to paths to transformers transform: { - "^.+\\.[js|jsx]s?$": "babel-jest" + "^.+\\.[js|jsx]?$": "babel-jest" }, // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation