Skip to content

Commit

Permalink
fix jpeg imports in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Nov 2, 2022
1 parent fde757f commit 67ce5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)$":
"<rootDir>/src/shared/utils/tests/mockFile.ts",
"^.+\\.(css|less|scss)$": "identity-obj-proxy",
"^@/(.*)$": "<rootDir>/src/$1",
Expand Down

0 comments on commit 67ce5f8

Please sign in to comment.