Upgrade Jest to v22.2.1

Reviewed By: rafeca

Differential Revision: D6923664

fbshipit-source-id: 0751ee6f0eb72193b0b22bb38d0398b3d83592a3
This commit is contained in:
Miguel Jimenez Esun 2018-02-07 08:27:35 -08:00 committed by Facebook Github Bot
parent a28fba69c8
commit be528451f5
3 changed files with 138 additions and 131 deletions

View File

@ -4,7 +4,7 @@
"babel-core": "^6.23.1",
"babel-eslint": "^7.1.1",
"babel-generator": "^6.26.0",
"babel-jest": "22.1.0",
"babel-jest": "22.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",
@ -27,7 +27,7 @@
"glob": "^7.1.1",
"istanbul-api": "^1.1.0",
"istanbul-lib-coverage": "^1.0.0",
"jest": "22.1.2",
"jest": "22.2.1",
"lerna": "2.4.0",
"micromatch": "^2.3.11",
"mkdirp": "^0.5.1",

View File

@ -65,9 +65,9 @@
"fs-extra": "^1.0.0",
"graceful-fs": "^4.1.3",
"image-size": "^0.6.0",
"jest-docblock": "22.1.0",
"jest-haste-map": "22.1.0",
"jest-worker": "22.1.0",
"jest-docblock": "22.2.0",
"jest-haste-map": "22.2.0",
"jest-worker": "22.2.0",
"json-stable-stringify": "^1.0.1",
"json5": "^0.4.0",
"left-pad": "^1.1.3",

259
yarn.lock
View File

@ -804,12 +804,12 @@ babel-helpers@^6.24.1:
babel-runtime "^6.22.0"
babel-template "^6.24.1"
babel-jest@22.1.0, babel-jest@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.1.0.tgz#7fae6f655fffe77e818a8c2868c754a42463fdfd"
babel-jest@22.2.0, babel-jest@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.2.0.tgz#2d04087f5d149585e14f641d529551963fc9b4f8"
dependencies:
babel-plugin-istanbul "^4.1.5"
babel-preset-jest "^22.1.0"
babel-preset-jest "^22.2.0"
babel-messages@^6.23.0:
version "6.23.0"
@ -837,9 +837,9 @@ babel-plugin-istanbul@^4.1.5:
istanbul-lib-instrument "^1.7.5"
test-exclude "^4.1.1"
babel-plugin-jest-hoist@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.1.0.tgz#c1281dd7887d77a1711dc760468c3b8285dde9ee"
babel-plugin-jest-hoist@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.2.0.tgz#bd34f39d652406669713b8c89e23ef25c890b993"
babel-plugin-react-transform@^3.0.0:
version "3.0.0"
@ -1209,11 +1209,11 @@ babel-preset-fbjs@^2.1.4:
babel-plugin-transform-react-display-name "^6.8.0"
babel-plugin-transform-react-jsx "^6.8.0"
babel-preset-jest@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-22.1.0.tgz#ff4e704102f9642765e2254226050561d8942ec9"
babel-preset-jest@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-22.2.0.tgz#f77b43f06ef4d8547214b2e206cc76a25c3ba0e2"
dependencies:
babel-plugin-jest-hoist "^22.1.0"
babel-plugin-jest-hoist "^22.2.0"
babel-plugin-syntax-object-rest-spread "^6.13.0"
babel-preset-react-native@^4.0.0:
@ -2357,15 +2357,15 @@ expand-range@^1.8.1:
dependencies:
fill-range "^2.1.0"
expect@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/expect/-/expect-22.1.0.tgz#f8f9b019ab275d859cbefed531fbaefe8972431d"
expect@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/expect/-/expect-22.2.0.tgz#dddcaab2e22ccc9f51e7c1732e0aa723f2f1f2b8"
dependencies:
ansi-styles "^3.2.0"
jest-diff "^22.1.0"
jest-get-type "^22.1.0"
jest-matcher-utils "^22.1.0"
jest-message-util "^22.1.0"
jest-matcher-utils "^22.2.0"
jest-message-util "^22.2.0"
jest-regex-util "^22.1.0"
extend@~3.0.0, extend@~3.0.1:
@ -3339,15 +3339,15 @@ istanbul-reports@^1.1.3:
dependencies:
handlebars "^4.0.3"
jest-changed-files@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-22.1.0.tgz#586a6164b87255dbd541a8bab880d98f14c99b7d"
jest-changed-files@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-22.2.0.tgz#517610c4a8ca0925bdc88b0ca53bd678aa8d019e"
dependencies:
throat "^4.0.0"
jest-cli@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-22.1.2.tgz#89497932d7befb8a6952f2712473695c4bbef43f"
jest-cli@^22.2.1:
version "22.2.1"
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-22.2.1.tgz#f1df6675cd719e0773be77d6314c5f4b1d8af47f"
dependencies:
ansi-escapes "^3.0.0"
chalk "^2.0.1"
@ -3360,21 +3360,21 @@ jest-cli@^22.1.2:
istanbul-lib-coverage "^1.1.1"
istanbul-lib-instrument "^1.8.0"
istanbul-lib-source-maps "^1.2.1"
jest-changed-files "^22.1.0"
jest-config "^22.1.2"
jest-environment-jsdom "^22.1.2"
jest-changed-files "^22.2.0"
jest-config "^22.2.1"
jest-environment-jsdom "^22.2.0"
jest-get-type "^22.1.0"
jest-haste-map "^22.1.0"
jest-message-util "^22.1.0"
jest-haste-map "^22.2.0"
jest-message-util "^22.2.0"
jest-regex-util "^22.1.0"
jest-resolve-dependencies "^22.1.0"
jest-runner "^22.1.2"
jest-runtime "^22.1.2"
jest-snapshot "^22.1.2"
jest-util "^22.1.2"
jest-worker "^22.1.0"
jest-runner "^22.2.1"
jest-runtime "^22.2.1"
jest-snapshot "^22.2.0"
jest-util "^22.2.0"
jest-worker "^22.2.0"
micromatch "^2.3.11"
node-notifier "^5.1.2"
node-notifier "^5.2.1"
realpath-native "^1.0.0"
rimraf "^2.5.4"
slash "^1.0.0"
@ -3383,20 +3383,20 @@ jest-cli@^22.1.2:
which "^1.2.12"
yargs "^10.0.3"
jest-config@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-22.1.2.tgz#d3aee5c1df0997f0e2ae5c707eee04a7c87f1653"
jest-config@^22.2.1:
version "22.2.1"
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-22.2.1.tgz#8617e99cff0544f0a5f254a5dde37f43b5383934"
dependencies:
chalk "^2.0.1"
glob "^7.1.1"
jest-environment-jsdom "^22.1.2"
jest-environment-node "^22.1.2"
jest-environment-jsdom "^22.2.0"
jest-environment-node "^22.2.0"
jest-get-type "^22.1.0"
jest-jasmine2 "^22.1.2"
jest-jasmine2 "^22.2.1"
jest-regex-util "^22.1.0"
jest-resolve "^22.1.0"
jest-util "^22.1.2"
jest-validate "^22.1.2"
jest-resolve "^22.2.0"
jest-util "^22.2.0"
jest-validate "^22.2.0"
pretty-format "^22.1.0"
jest-diff@^22.1.0:
@ -3408,9 +3408,9 @@ jest-diff@^22.1.0:
jest-get-type "^22.1.0"
pretty-format "^22.1.0"
jest-docblock@22.1.0, jest-docblock@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.1.0.tgz#3fe5986d5444cbcb149746eb4b07c57c5a464dfd"
jest-docblock@22.2.0, jest-docblock@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.2.0.tgz#4d054eac354751e94a43a0ea2e2fe5c04cc61bbb"
dependencies:
detect-newline "^2.1.0"
@ -3418,50 +3418,50 @@ jest-docblock@^20.0.1:
version "20.0.3"
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712"
jest-environment-jsdom@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.1.2.tgz#4488c629631dd5de9059ec747fcd358735247f70"
jest-environment-jsdom@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.2.0.tgz#e9537400cbdef2d1e61d7196f8afa40e826fe9d8"
dependencies:
jest-mock "^22.1.0"
jest-util "^22.1.2"
jest-mock "^22.2.0"
jest-util "^22.2.0"
jsdom "^11.5.1"
jest-environment-node@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-22.1.2.tgz#77dc32fbe08caa03ef2acb0948dce4b25a14633a"
jest-environment-node@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-22.2.0.tgz#ba7d0183fac076d34867367a4ac53ced69e3d3a9"
dependencies:
jest-mock "^22.1.0"
jest-util "^22.1.2"
jest-mock "^22.2.0"
jest-util "^22.2.0"
jest-get-type@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.1.0.tgz#4e90af298ed6181edc85d2da500dbd2753e0d5a9"
jest-haste-map@22.1.0, jest-haste-map@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.1.0.tgz#1174c6ff393f9818ebf1163710d8868b5370da2a"
jest-haste-map@22.2.0, jest-haste-map@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.2.0.tgz#c9f508b8f63322490339ba02343dd688474d9ad5"
dependencies:
fb-watchman "^2.0.0"
graceful-fs "^4.1.11"
jest-docblock "^22.1.0"
jest-worker "^22.1.0"
jest-docblock "^22.2.0"
jest-worker "^22.2.0"
micromatch "^2.3.11"
sane "^2.0.0"
jest-jasmine2@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-22.1.2.tgz#dee4ba04fb2cf462e4c7cfb499426e82e8fde5ac"
jest-jasmine2@^22.2.1:
version "22.2.1"
resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-22.2.1.tgz#58d115f3f4a0a186b5e90c5db8ac68aecfc41051"
dependencies:
callsites "^2.0.0"
chalk "^2.0.1"
co "^4.6.0"
expect "^22.1.0"
expect "^22.2.0"
graceful-fs "^4.1.11"
is-generator-fn "^1.0.0"
jest-diff "^22.1.0"
jest-matcher-utils "^22.1.0"
jest-message-util "^22.1.0"
jest-snapshot "^22.1.2"
jest-matcher-utils "^22.2.0"
jest-message-util "^22.2.0"
jest-snapshot "^22.2.0"
source-map-support "^0.5.0"
jest-leak-detector@^22.1.0:
@ -3470,17 +3470,17 @@ jest-leak-detector@^22.1.0:
dependencies:
pretty-format "^22.1.0"
jest-matcher-utils@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.1.0.tgz#e164665b5d313636ac29f7f6fe9ef0a6ce04febc"
jest-matcher-utils@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.2.0.tgz#5390f823c18c748543d463825aa8e4df0db253ca"
dependencies:
chalk "^2.0.1"
jest-get-type "^22.1.0"
pretty-format "^22.1.0"
jest-message-util@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-22.1.0.tgz#51ba0794cb6e579bfc4e9adfac452f9f1a0293fc"
jest-message-util@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-22.2.0.tgz#84a6bb34186d8b9af7e0732fabbef63f7355f7b2"
dependencies:
"@babel/code-frame" "^7.0.0-beta.35"
chalk "^2.0.1"
@ -3488,9 +3488,9 @@ jest-message-util@^22.1.0:
slash "^1.0.0"
stack-utils "^1.0.1"
jest-mock@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-22.1.0.tgz#87ec21c0599325671c9a23ad0e05c86fb5879b61"
jest-mock@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-22.2.0.tgz#444b3f9488a7473adae09bc8a77294afded397a7"
jest-regex-util@^22.1.0:
version "22.1.0"
@ -3502,45 +3502,45 @@ jest-resolve-dependencies@^22.1.0:
dependencies:
jest-regex-util "^22.1.0"
jest-resolve@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-22.1.0.tgz#5f4307f48b93c1abdbeacc9ed80642ffcb246294"
jest-resolve@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-22.2.0.tgz#25aa8b887b31ab8c79763503e209d7c136f74ab1"
dependencies:
browser-resolve "^1.11.2"
chalk "^2.0.1"
jest-runner@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-22.1.2.tgz#e8565e4eb56c27219352b8486338ced9ceb462da"
jest-runner@^22.2.1:
version "22.2.1"
resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-22.2.1.tgz#539b2b7eb0ceb34e63a1ca78a1eda46ace70b940"
dependencies:
exit "^0.1.2"
jest-config "^22.1.2"
jest-docblock "^22.1.0"
jest-haste-map "^22.1.0"
jest-jasmine2 "^22.1.2"
jest-config "^22.2.1"
jest-docblock "^22.2.0"
jest-haste-map "^22.2.0"
jest-jasmine2 "^22.2.1"
jest-leak-detector "^22.1.0"
jest-message-util "^22.1.0"
jest-runtime "^22.1.2"
jest-util "^22.1.2"
jest-worker "^22.1.0"
jest-message-util "^22.2.0"
jest-runtime "^22.2.1"
jest-util "^22.2.0"
jest-worker "^22.2.0"
throat "^4.0.0"
jest-runtime@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-22.1.2.tgz#42755d7cea2ffc7cdaa7f2dfa8736264a6057bf9"
jest-runtime@^22.2.1:
version "22.2.1"
resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-22.2.1.tgz#c5b0173a7f5274b28da30019cf7bb7b8cda68040"
dependencies:
babel-core "^6.0.0"
babel-jest "^22.1.0"
babel-jest "^22.2.0"
babel-plugin-istanbul "^4.1.5"
chalk "^2.0.1"
convert-source-map "^1.4.0"
exit "^0.1.2"
graceful-fs "^4.1.11"
jest-config "^22.1.2"
jest-haste-map "^22.1.0"
jest-config "^22.2.1"
jest-haste-map "^22.2.0"
jest-regex-util "^22.1.0"
jest-resolve "^22.1.0"
jest-util "^22.1.2"
jest-resolve "^22.2.0"
jest-util "^22.2.0"
json-stable-stringify "^1.0.1"
micromatch "^2.3.11"
realpath-native "^1.0.0"
@ -3549,49 +3549,50 @@ jest-runtime@^22.1.2:
write-file-atomic "^2.1.0"
yargs "^10.0.3"
jest-snapshot@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.1.2.tgz#b270cf6e3098f33aceeafda02b13eb0933dc6139"
jest-snapshot@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.2.0.tgz#0c0ba152d296ef70fa198cc84977a2cc269ee4cf"
dependencies:
chalk "^2.0.1"
jest-diff "^22.1.0"
jest-matcher-utils "^22.1.0"
jest-matcher-utils "^22.2.0"
mkdirp "^0.5.1"
natural-compare "^1.4.0"
pretty-format "^22.1.0"
jest-util@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.1.2.tgz#4bf098f651e8611d744cefa23fa026c97a6a3d5d"
jest-util@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.2.0.tgz#afad693641447858bec7b37f32952516bf887262"
dependencies:
callsites "^2.0.0"
chalk "^2.0.1"
graceful-fs "^4.1.11"
is-ci "^1.0.10"
jest-message-util "^22.1.0"
jest-validate "^22.1.2"
jest-message-util "^22.2.0"
jest-validate "^22.2.0"
mkdirp "^0.5.1"
jest-validate@^22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-22.1.2.tgz#c3b06bcba7bd9a850919fe336b5f2a8c3a239404"
jest-validate@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-22.2.0.tgz#f7ce459105a8210825e5e57279f868ab080063fa"
dependencies:
chalk "^2.0.1"
jest-get-type "^22.1.0"
leven "^2.1.0"
pretty-format "^22.1.0"
jest-worker@22.1.0, jest-worker@^22.1.0:
version "22.1.0"
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-22.1.0.tgz#0987832fe58fbdc205357f4c19b992446368cafb"
jest-worker@22.2.0, jest-worker@^22.2.0:
version "22.2.0"
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-22.2.0.tgz#d88d6ee176d6409f206cbbf7b485250793264262"
dependencies:
merge-stream "^1.0.1"
jest@22.1.2:
version "22.1.2"
resolved "https://registry.yarnpkg.com/jest/-/jest-22.1.2.tgz#54dce0f4946a089a00d5fdac8291d5926e24f6ab"
jest@22.2.1:
version "22.2.1"
resolved "https://registry.yarnpkg.com/jest/-/jest-22.2.1.tgz#fb6524d35bd02968afe3b17f330d6f7207846147"
dependencies:
jest-cli "^22.1.2"
import-local "^1.0.0"
jest-cli "^22.2.1"
jodid25519@^1.0.0:
version "1.0.2"
@ -4067,14 +4068,14 @@ node-int64@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
node-notifier@^5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.1.2.tgz#2fa9e12605fa10009d44549d6fcd8a63dde0e4ff"
node-notifier@^5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.2.1.tgz#fa313dd08f5517db0e2502e5758d664ac69f9dea"
dependencies:
growly "^1.3.0"
semver "^5.3.0"
shellwords "^0.1.0"
which "^1.2.12"
semver "^5.4.1"
shellwords "^0.1.1"
which "^1.3.0"
node-pre-gyp@^0.6.39:
version "0.6.39"
@ -4925,9 +4926,9 @@ shelljs@^0.7.5:
interpret "^1.0.0"
rechoir "^0.6.2"
shellwords@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.0.tgz#66afd47b6a12932d9071cbfd98a52e785cd0ba14"
shellwords@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
signal-exit@^3.0.0, signal-exit@^3.0.2:
version "3.0.2"
@ -5506,6 +5507,12 @@ which@^1.2.12, which@^1.2.9:
dependencies:
isexe "^2.0.0"
which@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
dependencies:
isexe "^2.0.0"
wide-align@^1.1.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710"