Skip to content

Commit

Permalink
Update Jest to work with npm3.
Browse files Browse the repository at this point in the history
Summary:0.9.0-fb3 comes with all those sweet npm3 fixes. Also see #840 and #832.

Tests are passing for me on node4 both with npm2 and npm3.

See jestjs/jest@7b44ca0 and jestjs/jest@2d10421

cc kassens raineroviir
Closes #877

Differential Revision: D2971806

fb-gh-sync-id: 85f2898f71df12eaf7f2b4bd6a2e641305453b45
shipit-source-id: 85f2898f71df12eaf7f2b4bd6a2e641305453b45
  • Loading branch information
cpojer authored and facebook-github-bot-8 committed Feb 24, 2016
1 parent 20bdae4 commit 1593c23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"gulp-flatten": "^0.1.0",
"gulp-header": "^1.2.2",
"gulp-util": "^3.0.6",
"jest-cli": "^0.9.0-fb1",
"jest-cli": "^0.9.0-fb3",
"object-assign": "^3.0.0",
"react": "^0.14.0",
"react-dom": "^0.14.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/babel-relay-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"eslint": "^1.3.1",
"flow-bin": "0.21.0",
"glob": "^5.0.15",
"jest-cli": "0.9.0-fb1",
"jest-cli": "0.9.0-fb3",
"minimist": "^1.1.3",
"mkdirp": "^0.5.1",
"rimraf": "^2.1"
Expand Down
9 changes: 1 addition & 8 deletions scripts/jest/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ module.exports = {
getCacheKey: createCacheKeyFunction([
__filename,
SCHEMA_PATH,
path.join(
__dirname,
'..',
'..',
'node_modules',
'babel-relay-plugin',
'package.json'
),
path.join(__dirname, '..', 'babel-relay-plugin', 'package.json'),
]),
};

0 comments on commit 1593c23

Please sign in to comment.