Fixed the jest config
This commit is contained in:
parent
1916747e8b
commit
3cb3bbc92c
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module.exports = {
|
||||||
],
|
],
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
...require('./devEnv/getAliasesFromTsConfig').getAliasesFromTsConfigForJest(),
|
...require('./devEnv/getAliasesFromTsConfig').getAliasesFromTsConfigForJest(),
|
||||||
'\\.(css)$': 'identity-obj-proxy',
|
'\\.(css|svg|png)$': 'identity-obj-proxy',
|
||||||
'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',
|
||||||
|
|
Loading…
Reference in a new issue