Fix the build

This commit is contained in:
Aria Minaei 2021-07-14 19:08:25 +02:00
parent 64273366ed
commit acbba8ee48

View file

@ -9,6 +9,8 @@ module.exports = {
'lodash-es/(.*)': 'lodash/$1', 'lodash-es/(.*)': 'lodash/$1',
'react-use/esm/(.*)': 'react-use/lib/$1', 'react-use/esm/(.*)': 'react-use/lib/$1',
'lodash-es': 'lodash', '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'], setupFiles: ['./theatre/shared/src/setupTestEnv.ts'],
automock: false, automock: false,