diff --git a/jest.config.js b/jest.config.js index d8ae6c0..14c44a7 100644 --- a/jest.config.js +++ b/jest.config.js @@ -168,13 +168,13 @@ module.exports = { // A map from regular expressions to paths to transformers transform: { - "^.+\\.[t|j]sx?$": "babel-jest" - } + "^.+\\.[js|jsx]s?$": "babel-jest" + }, // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - // transformIgnorePatterns: [ - // "/node_modules/" - // ], + transformIgnorePatterns: [ + "/node_modules/" + ], // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them // unmockedModulePathPatterns: undefined,