From 67ce5f82df9278af225c1b77bf1ffee5069a1a11 Mon Sep 17 00:00:00 2001 From: Andrey Mikhadyuk Date: Wed, 2 Nov 2022 17:48:32 +0300 Subject: [PATCH] fix jpeg imports in tests --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index d7ca484a62..7dd0e821fd 100644 --- a/jest.config.js +++ b/jest.config.js @@ -10,7 +10,7 @@ module.exports = { ], moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], moduleNameMapper: { - "^.+\\.(gif|ttf|eot|svg|png|pdf|mp4)$": + "^.+\\.(gif|ttf|eot|svg|png|jpe?g|pdf|mp4)$": "/src/shared/utils/tests/mockFile.ts", "^.+\\.(css|less|scss)$": "identity-obj-proxy", "^@/(.*)$": "/src/$1",