diff --git a/jest.config.js b/jest.config.js index d4e4598cc30..d3e210dc8ec 100644 --- a/jest.config.js +++ b/jest.config.js @@ -20,6 +20,7 @@ module.exports = { 'jsx' ], moduleNameMapper: { - "\\.(css|scss)$": "identity-obj-proxy" + "\\.(css|scss)$": "identity-obj-proxy", + '^react$': '/node_modules/react/' }, };