Skip to content

Commit

Permalink
Upgrade jest, fix automocking
Browse files Browse the repository at this point in the history
For some reason the recast node module was mocked, even though it was
listed as not to mock. Adding `node_modules` fixed that.
  • Loading branch information
fkling committed Dec 7, 2015
1 parent bddd5b5 commit 546635c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sudo: false
language: node_js
node_js:
- "4"
- 4
- stable
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"devDependencies": {
"babel": "^5.6.23",
"babel-jest": "^5.3.0",
"jest-cli": "^0.6.1",
"jest-cli": "^0.8.0",
"rimraf": "^2.3.2",
"temp": "^0.8.1"
},
Expand All @@ -47,6 +47,7 @@
"src"
],
"unmockedModulePathPatterns": [
"node_modules",
"tests/utils",
"recast",
"babel",
Expand Down

0 comments on commit 546635c

Please sign in to comment.