Try alternative jest transform

This commit is contained in:
dannyrb committed 2019-07-16 14:23:41 -04:00
1 parent 4386b5c960
commit 9449ae4314
6 files changed
+30 -198

No files matched your search

+3
View File
@@ -11,6 +11,9 @@ module.exports = {
],
reporters: ["default", "jest-junit"],
//
transform: {
"^.+\\.js$": path.resolve(__dirname, "./jestBabelTransform.js")
},
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/src/__mocks__/fileMock.js",