Skip to content

Commit

Permalink
Upgrade Jest to version 23.2.0 (#19876)
Browse files Browse the repository at this point in the history
Summary:
[Jest 23.2.0](https://github.com/facebook/jest/blob/master/CHANGELOG.md#2320) landed fix for `MockNativeMethods` access in react-native jest preset.

[GENERAL] [BUGFIX] [./package.json] - Upgrade Jest to version 23.2.0 and resolve `MockNativeMethods` access in `react-native` jest preset.

Closes facebook/react-native#19876

Reviewed By: mjesun

Differential Revision: D8618905

Pulled By: hramos

fbshipit-source-id: 8463868b1e5dbcf430c76c0551e58d38e4c85a04
  • Loading branch information
timwangdev authored and facebook-github-bot committed Jun 27, 2018
1 parent 7fb0e4a commit 35d1211
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 170 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"devDependencies": {
"babel-core": "^6.23.1",
"babel-eslint": "8.2.1",
"babel-jest": "23.0.1",
"babel-jest": "23.2.0",
"babel-plugin-syntax-trailing-function-commas": "^6.20.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-class-properties": "^6.18.0",
Expand All @@ -30,7 +30,7 @@
"glob": "^7.1.1",
"istanbul-api": "^1.1.0",
"istanbul-lib-coverage": "^1.0.0",
"jest": "23.1.0",
"jest": "23.2.0",
"lerna": "2.4.0",
"micromatch": "^2.3.11",
"mkdirp": "^0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"cleanup-release": "test ! -e build && mv src build && mv src.real src"
},
"dependencies": {
"jest-haste-map": "23.1.0",
"jest-haste-map": "23.2.0",
"lodash.throttle": "^4.1.1",
"metro-resolver": "0.40.1",
"wordwrap": "^1.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/metro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"fs-extra": "^1.0.0",
"graceful-fs": "^4.1.3",
"image-size": "^0.6.0",
"jest-docblock": "23.0.1",
"jest-haste-map": "23.1.0",
"jest-worker": "23.0.1",
"jest-docblock": "23.2.0",
"jest-haste-map": "23.2.0",
"jest-worker": "23.2.0",
"json-stable-stringify": "^1.0.1",
"json5": "^0.4.0",
"left-pad": "^1.1.3",
Expand Down
Loading

0 comments on commit 35d1211

Please sign in to comment.