From acbba8ee4878cc9c5a4739656192a9b78628d70f Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Wed, 14 Jul 2021 19:08:25 +0200 Subject: [PATCH] Fix the build --- jest.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jest.config.js b/jest.config.js index ea79c93..a9845ea 100644 --- a/jest.config.js +++ b/jest.config.js @@ -9,6 +9,8 @@ module.exports = { 'lodash-es/(.*)': 'lodash/$1', 'react-use/esm/(.*)': 'react-use/lib/$1', 'lodash-es': 'lodash', + // An ES module that jest can't handle at the moment. + 'react-icons/(.*)': 'identity-obj-proxy', }, setupFiles: ['./theatre/shared/src/setupTestEnv.ts'], automock: false,