From 3cb3bbc92cb7155132d5138e21b56363a7a20a37 Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Sun, 8 Aug 2021 10:16:33 +0200 Subject: [PATCH] Fixed the jest config --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index a9845ea..3676c98 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,7 +5,7 @@ module.exports = { ], moduleNameMapper: { ...require('./devEnv/getAliasesFromTsConfig').getAliasesFromTsConfigForJest(), - '\\.(css)$': 'identity-obj-proxy', + '\\.(css|svg|png)$': 'identity-obj-proxy', 'lodash-es/(.*)': 'lodash/$1', 'react-use/esm/(.*)': 'react-use/lib/$1', 'lodash-es': 'lodash',