Skip to content

Commit

Permalink
Make tests pass using Node 5 / NPM 3 facebook#832
Browse files Browse the repository at this point in the history
  • Loading branch information
rainer oviir authored and rainer oviir committed Feb 15, 2016
1 parent d4c3860 commit 471e489
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"webpack-stream": "^2.1.0"
},
"devEngines": {
"node": ">=4.x",
"npm": ">=2.x"
"node": ">=5.x",
"npm": ">=3.x"
},
"jest": {
"rootDir": "",
Expand All @@ -85,13 +85,7 @@
"<rootDir>/src/"
],
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/fbjs/node_modules/core-js/",
"<rootDir>/node_modules/fbjs-scripts/",
"<rootDir>/node_modules/fbjs/node_modules/promise/",
"<rootDir>/node_modules/fbjs/lib/(?!(ErrorUtils.js$|fetch.js$|fetchWithRetries.js$))",
"<rootDir>/node_modules/react/",
"<rootDir>/node_modules/react-dom/",
"<rootDir>/node_modules/react-static-container/"
"<rootDir>/node_modules/(?!(fbjs/lib/ErrorUtils.js$|fbjs/lib/fetch.js$|fbjs/lib/fetchWithRetries.js$))"
]
}
}
1 change: 1 addition & 0 deletions src/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
../node_modules/fbjs/lib
../node_modules/react
../node_modules/react-static-container/lib
../node_modules/base62

[libs]
../node_modules/fbjs/flow/lib
Expand Down

0 comments on commit 471e489

Please sign in to comment.