Skip to content

Commit d00e122

Browse files
committed
chore: install babel-jest on CI to avoid hoisting bugs
1 parent 62ac24e commit d00e122

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"scripts": {
1818
"test": "jest",
19-
"pretest:ci": "npm uninstall jest && npm install jest@$JEST_VERSION --no-save",
19+
"pretest:ci": "npm uninstall jest babel-jest && npm install jest@$JEST_VERSION babel-jest@$JEST_VERSION --no-save",
2020
"test:ci": "jest --ci"
2121
},
2222
"dependencies": {
@@ -27,6 +27,7 @@
2727
"xml": "^1.0.1"
2828
},
2929
"devDependencies": {
30+
"babel-jest": "^24.0.0",
3031
"jest": "^24.0.0",
3132
"libxmljs": "^0.18.4"
3233
}

0 commit comments

Comments
 (0)