Skip to content

Commit 546635c

Browse files
committed
Upgrade jest, fix automocking
For some reason the recast node module was mocked, even though it was listed as not to mock. Adding `node_modules` fixed that.
1 parent bddd5b5 commit 546635c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- "4"
4+
- 4
5+
- stable

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"devDependencies": {
3535
"babel": "^5.6.23",
3636
"babel-jest": "^5.3.0",
37-
"jest-cli": "^0.6.1",
37+
"jest-cli": "^0.8.0",
3838
"rimraf": "^2.3.2",
3939
"temp": "^0.8.1"
4040
},
@@ -47,6 +47,7 @@
4747
"src"
4848
],
4949
"unmockedModulePathPatterns": [
50+
"node_modules",
5051
"tests/utils",
5152
"recast",
5253
"babel",

0 commit comments

Comments
 (0)