Skip to content

Commit 73161e6

Browse files
author
raghavaggarwal2308
committed
[MM-945] Fix jest config
1 parent 8471535 commit 73161e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

webapp/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
},
9292
"jest": {
9393
"snapshotSerializers": [
94-
"<rootDir>/node_modules/enzyme-to-json/serializer"
94+
"<rootDir>/node_modules/enzyme-to-json/serializer.js"
9595
],
9696
"testPathIgnorePatterns": [
9797
"/node_modules/",
@@ -105,6 +105,9 @@
105105
"lcov",
106106
"text-summary"
107107
],
108+
"transform": {
109+
"^.+\\.[t|j]sx?$": "babel-jest"
110+
},
108111
"moduleNameMapper": {
109112
"^@/(.*)$": "<rootDir>/src/$1",
110113
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy",

0 commit comments

Comments
 (0)