From 613a7f6c667cfd15559a3eeca2702a74ad22568a Mon Sep 17 00:00:00 2001 From: Benaiah Mischenko Date: Wed, 14 Jun 2017 15:11:44 -0700 Subject: [PATCH] [WIP] Make jest tests work again --- .babelrc | 7 +- package.json | 6 +- yarn.lock | 363 +++++++++++++++++++++------------------------------ 3 files changed, 156 insertions(+), 220 deletions(-) diff --git a/.babelrc b/.babelrc index 7e761da2..f9adc6d4 100644 --- a/.babelrc +++ b/.babelrc @@ -6,5 +6,10 @@ ["babel-plugin-transform-builtin-extend", { "globals": ["Error"] }], - ] + ], + "env": { + "test": { + "plugins": ["transform-es2015-modules-commonjs"] + } + } } diff --git a/package.json b/package.json index 21d2c5b8..6c40322b 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "babel": "^6.5.2", "babel-cli": "^6.18.0", "babel-core": "^6.5.1", - "babel-jest": "^15.0.0", + "babel-jest": "^20.0.3", "babel-loader": "^7.0.0", "babel-plugin-lodash": "^3.2.0", "babel-preset-es2015": "^6.5.0", @@ -67,8 +67,8 @@ "file-loader": "^0.11.2", "identity-obj-proxy": "^3.0.0", "imports-loader": "^0.7.1", - "jest": "19.1.0-alpha.eed82034", - "jest-cli": "19.1.0-alpha.eed82034", + "jest": "^20.0.4", + "jest-cli": "^20.0.4", "lint-staged": "^3.1.0", "node-sass": "^3.10.0", "npm-check": "^5.2.3", diff --git a/yarn.lock b/yarn.lock index d4cf46f3..e9e831e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -163,7 +163,7 @@ ansi-html@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e" -ansi-regex@^2.0.0: +ansi-regex@^2.0.0, ansi-regex@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -557,21 +557,13 @@ babel-helpers@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-jest@^15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-15.0.0.tgz#6a9e2e3999f241383db9ab1e2ef6704401d74242" - dependencies: - babel-core "^6.0.0" - babel-plugin-istanbul "^2.0.0" - babel-preset-jest "^15.0.0" - -babel-jest@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-19.1.0-alpha.eed82034.tgz#f830e6095a30555171f413d287942f2bc374e54f" +babel-jest@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-20.0.3.tgz#e4a03b13dc10389e140fc645d09ffc4ced301671" dependencies: babel-core "^6.0.0" babel-plugin-istanbul "^4.0.0" - babel-preset-jest "^19.1.0-alpha.eed82034" + babel-preset-jest "^20.0.3" babel-loader@^6.2.4: version "6.4.1" @@ -602,15 +594,6 @@ babel-plugin-check-es2015-constants@^6.22.0: dependencies: babel-runtime "^6.22.0" -babel-plugin-istanbul@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-2.0.3.tgz#266b304b9109607d60748474394676982f660df4" - dependencies: - find-up "^1.1.2" - istanbul-lib-instrument "^1.1.4" - object-assign "^4.1.0" - test-exclude "^2.1.1" - babel-plugin-istanbul@^4.0.0: version "4.1.3" resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.3.tgz#6ee6280410dcf59c7747518c3dfd98680958f102" @@ -619,13 +602,9 @@ babel-plugin-istanbul@^4.0.0: istanbul-lib-instrument "^1.7.1" test-exclude "^4.1.0" -babel-plugin-jest-hoist@^15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-15.0.0.tgz#7b2fdbd0cd12fc36a84d3f5ff001ec504262bb59" - -babel-plugin-jest-hoist@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-19.1.0-alpha.eed82034.tgz#56d805a069499b2ee804783678f3017c54367fcf" +babel-plugin-jest-hoist@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-20.0.3.tgz#afedc853bd3f8dc3548ea671fbe69d03cc2c1767" babel-plugin-lodash@^3.2.0: version "3.2.11" @@ -1035,17 +1014,11 @@ babel-preset-flow@^6.23.0: dependencies: babel-plugin-transform-flow-strip-types "^6.22.0" -babel-preset-jest@^15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-15.0.0.tgz#f23988f1f918673ff9b470fdfd60fcc19bc618f5" +babel-preset-jest@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-20.0.3.tgz#cbacaadecb5d689ca1e1de1360ebfc66862c178a" dependencies: - babel-plugin-jest-hoist "^15.0.0" - -babel-preset-jest@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-19.1.0-alpha.eed82034.tgz#1924ee9755629ff939e7bc348e42266cc869b9b3" - dependencies: - babel-plugin-jest-hoist "^19.1.0-alpha.eed82034" + babel-plugin-jest-hoist "^20.0.3" babel-preset-react@^6.11.1, babel-preset-react@^6.5.0: version "6.24.1" @@ -3036,7 +3009,7 @@ find-root@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/find-root/-/find-root-0.1.2.tgz#98d2267cff1916ccaf2743b3a0eea81d79d7dcd1" -find-up@^1.0.0, find-up@^1.1.2: +find-up@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" dependencies: @@ -4058,11 +4031,7 @@ istanbul-api@^1.1.1: mkdirp "^0.5.1" once "^1.4.0" -istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.2.tgz#87a0c015b6910651cb3b184814dfb339337e25e1" - -istanbul-lib-coverage@^1.1.0: +istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.0.2, istanbul-lib-coverage@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.0.tgz#caca19decaef3525b5d6331d701f3f3b7ad48528" @@ -4072,19 +4041,7 @@ istanbul-lib-hook@^1.0.5: dependencies: append-transform "^0.4.0" -istanbul-lib-instrument@^1.1.4, istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.0.tgz#b8e0dc25709bb44e17336ab47b7bb5c97c23f659" - dependencies: - babel-generator "^6.18.0" - babel-template "^6.16.0" - babel-traverse "^6.18.0" - babel-types "^6.18.0" - babylon "^6.13.0" - istanbul-lib-coverage "^1.0.2" - semver "^5.3.0" - -istanbul-lib-instrument@^1.7.1: +istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.0, istanbul-lib-instrument@^1.7.1: version "1.7.1" resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.1.tgz#169e31bc62c778851a99439dd99c3cc12184d360" dependencies: @@ -4120,13 +4077,13 @@ istanbul-reports@^1.0.2: dependencies: handlebars "^4.0.3" -jest-changed-files@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-19.1.0-alpha.eed82034.tgz#79351ae50693406e2207018db8e8665f11e6f2da" +jest-changed-files@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-20.0.3.tgz#9394d5cc65c438406149bef1bf4d52b68e03e3f8" -jest-cli@19.1.0-alpha.eed82034, jest-cli@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-19.1.0-alpha.eed82034.tgz#507a2cbd66f7f91889973a89c7af876359f4b47a" +jest-cli@^20.0.4: + version "20.0.4" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-20.0.4.tgz#e532b19d88ae5bc6c417e8b0593a6fe954b1dc93" dependencies: ansi-escapes "^1.4.0" callsites "^2.0.0" @@ -4137,22 +4094,21 @@ jest-cli@19.1.0-alpha.eed82034, jest-cli@^19.1.0-alpha.eed82034: istanbul-lib-coverage "^1.0.1" istanbul-lib-instrument "^1.4.2" istanbul-lib-source-maps "^1.1.0" - jest-changed-files "^19.1.0-alpha.eed82034" - jest-config "^19.1.0-alpha.eed82034" - jest-docblock "^19.1.0-alpha.eed82034" - jest-environment-jsdom "^19.1.0-alpha.eed82034" - jest-haste-map "^19.1.0-alpha.eed82034" - jest-jasmine2 "^19.1.0-alpha.eed82034" - jest-message-util "^19.1.0-alpha.eed82034" - jest-regex-util "^19.1.0-alpha.eed82034" - jest-resolve-dependencies "^19.1.0-alpha.eed82034" - jest-runtime "^19.1.0-alpha.eed82034" - jest-snapshot "^19.1.0-alpha.eed82034" - jest-util "^19.1.0-alpha.eed82034" + jest-changed-files "^20.0.3" + jest-config "^20.0.4" + jest-docblock "^20.0.3" + jest-environment-jsdom "^20.0.3" + jest-haste-map "^20.0.4" + jest-jasmine2 "^20.0.4" + jest-message-util "^20.0.3" + jest-regex-util "^20.0.3" + jest-resolve-dependencies "^20.0.3" + jest-runtime "^20.0.4" + jest-snapshot "^20.0.3" + jest-util "^20.0.3" micromatch "^2.3.11" node-notifier "^5.0.2" pify "^2.3.0" - pkg-dir "^1.0.0" slash "^1.0.0" string-length "^1.0.1" throat "^3.0.0" @@ -4160,174 +4116,177 @@ jest-cli@19.1.0-alpha.eed82034, jest-cli@^19.1.0-alpha.eed82034: worker-farm "^1.3.1" yargs "^7.0.2" -jest-config@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-19.1.0-alpha.eed82034.tgz#de875ed266e69c929fcd55c8bf3fd539234430c8" +jest-config@^20.0.4: + version "20.0.4" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-20.0.4.tgz#e37930ab2217c913605eff13e7bd763ec48faeea" dependencies: chalk "^1.1.3" - jest-environment-jsdom "^19.1.0-alpha.eed82034" - jest-environment-node "^19.1.0-alpha.eed82034" - jest-jasmine2 "^19.1.0-alpha.eed82034" - jest-regex-util "^19.1.0-alpha.eed82034" - jest-resolve "^19.1.0-alpha.eed82034" - jest-validate "^19.1.0-alpha.eed82034" - pify "^2.3.0" - pretty-format "^19.1.0-alpha.eed82034" - read-pkg "^2.0.0" + glob "^7.1.1" + jest-environment-jsdom "^20.0.3" + jest-environment-node "^20.0.3" + jest-jasmine2 "^20.0.4" + jest-matcher-utils "^20.0.3" + jest-regex-util "^20.0.3" + jest-resolve "^20.0.4" + jest-validate "^20.0.3" + pretty-format "^20.0.3" -jest-diff@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-19.1.0-alpha.eed82034.tgz#c39b9bbf19d8436facca7547683a1c3d3d4a07cf" +jest-diff@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-20.0.3.tgz#81f288fd9e675f0fb23c75f1c2b19445fe586617" dependencies: chalk "^1.1.3" diff "^3.2.0" - jest-matcher-utils "^19.1.0-alpha.eed82034" - pretty-format "^19.1.0-alpha.eed82034" + jest-matcher-utils "^20.0.3" + pretty-format "^20.0.3" -jest-docblock@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-19.1.0-alpha.eed82034.tgz#bf8718e1df92865c90d4ed33fd0546ccb8159986" +jest-docblock@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712" -jest-environment-jsdom@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-19.1.0-alpha.eed82034.tgz#e38f8da2bc6fcf80654912173f61d1bd50694f09" +jest-environment-jsdom@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-20.0.3.tgz#048a8ac12ee225f7190417713834bb999787de99" dependencies: - jest-mock "^19.1.0-alpha.eed82034" - jest-util "^19.1.0-alpha.eed82034" + jest-mock "^20.0.3" + jest-util "^20.0.3" jsdom "^9.12.0" -jest-environment-node@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-19.1.0-alpha.eed82034.tgz#ad9034c1917e885f8476216160e4004245a14211" +jest-environment-node@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-20.0.3.tgz#d488bc4612af2c246e986e8ae7671a099163d403" dependencies: - jest-mock "^19.1.0-alpha.eed82034" - jest-util "^19.1.0-alpha.eed82034" + jest-mock "^20.0.3" + jest-util "^20.0.3" -jest-haste-map@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-19.1.0-alpha.eed82034.tgz#2f525676a39798480f411c2b97a5d9f7c108e319" +jest-haste-map@^20.0.4: + version "20.0.4" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.0.4.tgz#653eb55c889ce3c021f7b94693f20a4159badf03" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "^19.1.0-alpha.eed82034" + jest-docblock "^20.0.3" micromatch "^2.3.11" sane "~1.6.0" worker-farm "^1.3.1" -jest-jasmine2@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-19.1.0-alpha.eed82034.tgz#135b89d9ef3c36a8231dca51de1fec8fea02da70" - dependencies: - graceful-fs "^4.1.11" - jest-matcher-utils "^19.1.0-alpha.eed82034" - jest-matchers "^19.1.0-alpha.eed82034" - jest-message-util "^19.1.0-alpha.eed82034" - jest-snapshot "^19.1.0-alpha.eed82034" - -jest-matcher-utils@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-19.1.0-alpha.eed82034.tgz#76c76212a0a1e448571f89f8183bdc9bfd4ed32f" +jest-jasmine2@^20.0.4: + version "20.0.4" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-20.0.4.tgz#fcc5b1411780d911d042902ef1859e852e60d5e1" dependencies: chalk "^1.1.3" - pretty-format "^19.1.0-alpha.eed82034" + graceful-fs "^4.1.11" + jest-diff "^20.0.3" + jest-matcher-utils "^20.0.3" + jest-matchers "^20.0.3" + jest-message-util "^20.0.3" + jest-snapshot "^20.0.3" + once "^1.4.0" + p-map "^1.1.1" -jest-matchers@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-matchers/-/jest-matchers-19.1.0-alpha.eed82034.tgz#b1226d56e376f96371ef099093aae834f00012f7" +jest-matcher-utils@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-20.0.3.tgz#b3a6b8e37ca577803b0832a98b164f44b7815612" dependencies: - jest-diff "^19.1.0-alpha.eed82034" - jest-matcher-utils "^19.1.0-alpha.eed82034" - jest-message-util "^19.1.0-alpha.eed82034" - jest-regex-util "^19.1.0-alpha.eed82034" + chalk "^1.1.3" + pretty-format "^20.0.3" -jest-message-util@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-19.1.0-alpha.eed82034.tgz#86bc121f8f59825cf789e32c7c654eee3546e5c6" +jest-matchers@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-matchers/-/jest-matchers-20.0.3.tgz#ca69db1c32db5a6f707fa5e0401abb55700dfd60" + dependencies: + jest-diff "^20.0.3" + jest-matcher-utils "^20.0.3" + jest-message-util "^20.0.3" + jest-regex-util "^20.0.3" + +jest-message-util@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-20.0.3.tgz#6aec2844306fcb0e6e74d5796c1006d96fdd831c" dependencies: chalk "^1.1.3" micromatch "^2.3.11" slash "^1.0.0" -jest-mock@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-19.1.0-alpha.eed82034.tgz#77fc395bbe962ab01618c696fdacb9660bec57b4" +jest-mock@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-20.0.3.tgz#8bc070e90414aa155c11a8d64c869a0d5c71da59" -jest-regex-util@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-19.1.0-alpha.eed82034.tgz#cb4316945b581e6a0c8674d4a320494b7d128196" +jest-regex-util@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-20.0.3.tgz#85bbab5d133e44625b19faf8c6aa5122d085d762" -jest-resolve-dependencies@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-19.1.0-alpha.eed82034.tgz#2dd96b3e2a945321bb914492cd92ba1e253ac5d0" +jest-resolve-dependencies@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-20.0.3.tgz#6e14a7b717af0f2cb3667c549de40af017b1723a" dependencies: - jest-regex-util "^19.1.0-alpha.eed82034" + jest-regex-util "^20.0.3" -jest-resolve@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-19.1.0-alpha.eed82034.tgz#d4f251dd418c42ae1bb7b8ee6fa4d7512b3185bb" +jest-resolve@^20.0.4: + version "20.0.4" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-20.0.4.tgz#9448b3e8b6bafc15479444c6499045b7ffe597a5" dependencies: browser-resolve "^1.11.2" is-builtin-module "^1.0.0" resolve "^1.3.2" -jest-runtime@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-19.1.0-alpha.eed82034.tgz#43e3be4e59cde1f3af135876dc705d000b3f5eb0" +jest-runtime@^20.0.4: + version "20.0.4" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-20.0.4.tgz#a2c802219c4203f754df1404e490186169d124d8" dependencies: babel-core "^6.0.0" - babel-jest "^19.1.0-alpha.eed82034" + babel-jest "^20.0.3" babel-plugin-istanbul "^4.0.0" chalk "^1.1.3" convert-source-map "^1.4.0" graceful-fs "^4.1.11" - jest-config "^19.1.0-alpha.eed82034" - jest-haste-map "^19.1.0-alpha.eed82034" - jest-regex-util "^19.1.0-alpha.eed82034" - jest-resolve "^19.1.0-alpha.eed82034" - jest-util "^19.1.0-alpha.eed82034" + jest-config "^20.0.4" + jest-haste-map "^20.0.4" + jest-regex-util "^20.0.3" + jest-resolve "^20.0.4" + jest-util "^20.0.3" json-stable-stringify "^1.0.1" micromatch "^2.3.11" - pkg-dir "^1.0.0" strip-bom "3.0.0" yargs "^7.0.2" -jest-snapshot@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-19.1.0-alpha.eed82034.tgz#7ebc3bc178321de6c9b66631ee4de2802c715458" +jest-snapshot@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-20.0.3.tgz#5b847e1adb1a4d90852a7f9f125086e187c76566" dependencies: chalk "^1.1.3" - jest-diff "^19.1.0-alpha.eed82034" - jest-matcher-utils "^19.1.0-alpha.eed82034" - jest-util "^19.1.0-alpha.eed82034" + jest-diff "^20.0.3" + jest-matcher-utils "^20.0.3" + jest-util "^20.0.3" natural-compare "^1.4.0" - pretty-format "^19.1.0-alpha.eed82034" + pretty-format "^20.0.3" -jest-util@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-19.1.0-alpha.eed82034.tgz#c422a29d34831ec576b83f5605ddd3c9154b537b" +jest-util@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-20.0.3.tgz#0c07f7d80d82f4e5a67c6f8b9c3fe7f65cfd32ad" dependencies: chalk "^1.1.3" graceful-fs "^4.1.11" - jest-message-util "^19.1.0-alpha.eed82034" - jest-mock "^19.1.0-alpha.eed82034" - jest-validate "^19.1.0-alpha.eed82034" + jest-message-util "^20.0.3" + jest-mock "^20.0.3" + jest-validate "^20.0.3" leven "^2.1.0" mkdirp "^0.5.1" -jest-validate@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-19.1.0-alpha.eed82034.tgz#0a7c101a92ba5e380f4a00155a9ea95965f2a541" +jest-validate@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-20.0.3.tgz#d0cfd1de4f579f298484925c280f8f1d94ec3cab" dependencies: chalk "^1.1.3" - jest-matcher-utils "^19.1.0-alpha.eed82034" + jest-matcher-utils "^20.0.3" leven "^2.1.0" - pretty-format "^19.1.0-alpha.eed82034" + pretty-format "^20.0.3" -jest@19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/jest/-/jest-19.1.0-alpha.eed82034.tgz#9b0873df36b28998bcdec4595066daa0bd534197" +jest@^20.0.4: + version "20.0.4" + resolved "https://registry.yarnpkg.com/jest/-/jest-20.0.4.tgz#3dd260c2989d6dad678b1e9cc4d91944f6d602ac" dependencies: - jest-cli "^19.1.0-alpha.eed82034" + jest-cli "^20.0.4" jju@^1.1.0: version "1.3.0" @@ -4616,15 +4575,6 @@ load-json-file@^1.0.0: pinkie-promise "^2.0.0" strip-bom "^2.0.0" -load-json-file@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" - dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - strip-bom "^3.0.0" - loader-runner@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" @@ -5619,6 +5569,10 @@ p-locate@^2.0.0: dependencies: p-limit "^1.1.0" +p-map@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.1.1.tgz#05f5e4ae97a068371bc2a5cc86bfbdbc19c4ae7a" + package-json@^2.0.0, package-json@^2.0.1: version "2.4.0" resolved "https://registry.yarnpkg.com/package-json/-/package-json-2.4.0.tgz#0d15bd67d1cbbddbb2ca222ff2edb86bcb31a8bb" @@ -5721,12 +5675,6 @@ path-type@^1.0.0: pify "^2.0.0" pinkie-promise "^2.0.0" -path-type@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" - dependencies: - pify "^2.0.0" - pbkdf2-compat@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/pbkdf2-compat/-/pbkdf2-compat-2.0.1.tgz#b6e0c8fa99494d94e0511575802a59a5c142f288" @@ -6396,10 +6344,11 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" -pretty-format@^19.1.0-alpha.eed82034: - version "19.1.0-alpha.eed82034" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-19.1.0-alpha.eed82034.tgz#970654771b23bb904f7362f814c38c95e339cd1d" +pretty-format@^20.0.3: + version "20.0.3" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-20.0.3.tgz#020e350a560a1fe1a98dc3beb6ccffb386de8b14" dependencies: + ansi-regex "^2.1.1" ansi-styles "^3.0.0" prismjs@^1.5.1: @@ -6927,14 +6876,6 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" -read-pkg@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" - dependencies: - load-json-file "^2.0.0" - normalize-package-data "^2.3.2" - path-type "^2.0.0" - "readable-stream@>=1.0.33-1 <1.1.0-0": version "1.0.34" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" @@ -8074,16 +8015,6 @@ tar@^2.0.0, tar@^2.2.1: fstream "^1.0.2" inherits "2" -test-exclude@^2.1.1: - version "2.1.3" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-2.1.3.tgz#a8d8968e1da83266f9864f2852c55e220f06434a" - dependencies: - arrify "^1.0.1" - micromatch "^2.3.11" - object-assign "^4.1.0" - read-pkg-up "^1.0.1" - require-main-filename "^1.0.1" - test-exclude@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.1.0.tgz#04ca70b7390dd38c98d4a003a173806ca7991c91"