add raw-loader to jest config

This commit is contained in:
Glenn Eggleton
2022-09-14 13:05:55 -04:00
parent fcdc7ecee1
commit 19ad9be8aa
3 changed files with 2 additions and 1 deletions

View File

@@ -9,5 +9,6 @@ module.exports = {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/test/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/test/__mocks__/styleMock.js",
"\\!!raw-loader!.*$": "<rootDir>/test/__mocks__/rawLoader.js",
},
};