Merge pull request #4105 from geggleto/fix-import-for-jest-test

Fix Jest CI Error
This commit is contained in:
hydroflame 2022-09-23 00:31:17 -03:00 committed by GitHub
commit a30e922d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

2
.gitignore vendored

@ -18,3 +18,5 @@ Netburner.txt
# editor files
.vscode
.idea/

@ -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",
},
};