Skip to content

Commit c4e8ac0

Browse files
committed
fix(unittesting): aligning jest versions across packages
1 parent 766161f commit c4e8ac0

File tree

7 files changed

+1600
-1100
lines changed

7 files changed

+1600
-1100
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"eslint-plugin-react": "^7.14.2",
5454
"eslint-plugin-react-hooks": "^1.6.1",
5555
"husky": "^1.3.1",
56-
"jest": "^24.8.0",
57-
"jest-circus": "^24.8.0",
56+
"jest": "24.9.0",
57+
"jest-circus": "24.9.0",
5858
"jest-junit": "^6.4.0",
5959
"lerna": "^3.20.2",
6060
"lint-staged": "^8.1.5",

packages/react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"@storybook/react": "5.2.6",
8383
"all-contributors-cli": "^5.2.1",
8484
"babel-core": "^7.0.0-bridge.0",
85-
"babel-jest": "^23.6.0",
85+
"babel-jest": "23.6.0",
8686
"babel-loader": "^8.0.4",
8787
"babel-plugin-dev-expression": "^0.2.1",
8888
"babel-plugin-inline-react-svg": "^1.1.0",
@@ -99,7 +99,7 @@
9999
"enzyme": "^3.10.0",
100100
"enzyme-adapter-react-16": "^1.14.0",
101101
"gzip-size": "^5.0.0",
102-
"jest": "^24.0.0",
102+
"jest": "24.0.0",
103103
"jest-circus": "^24.0.0",
104104
"lcov2badge": "^0.1.0",
105105
"mini-css-extract-plugin": "^0.4.4",

packages/react/src/__tests__/__snapshots__/storyshots.test.js.snap

+1,552-1,078
Large diffs are not rendered by default.

packages/services/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@babel/preset-env": "^7.4.3",
5353
"all-contributors-cli": "^5.2.1",
5454
"babel-core": "^7.0.0-bridge.0",
55-
"babel-jest": "^23.6.0",
55+
"babel-jest": "23.6.0",
5656
"babel-loader": "^8.0.4",
5757
"babel-plugin-dev-expression": "^0.2.1",
5858
"babel-plugin-transform-inline-environment-variables": "^0.4.0",
@@ -63,8 +63,8 @@
6363
"core-js": "^3.1.3",
6464
"cross-env": "^5.2.0",
6565
"gzip-size": "^5.0.0",
66-
"jest": "^24.0.0",
67-
"jest-circus": "^24.0.0",
66+
"jest": "24.0.0",
67+
"jest-circus": "24.0.0",
6868
"jsdoc": "^3.6.2",
6969
"object-assign": "^4.1.1",
7070
"promise": "^8.0.1",

packages/utilities/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@babel/preset-env": "^7.4.3",
5252
"all-contributors-cli": "^5.2.1",
5353
"babel-core": "^7.0.0-bridge.0",
54-
"babel-jest": "^23.6.0",
54+
"babel-jest": "23.6.0",
5555
"babel-loader": "^8.0.4",
5656
"babel-plugin-dev-expression": "^0.2.1",
5757
"babel-plugin-transform-inline-environment-variables": "^0.4.0",
@@ -63,8 +63,8 @@
6363
"cross-env": "^5.2.0",
6464
"fetch-mock": "^7.3.6",
6565
"gzip-size": "^5.0.0",
66-
"jest": "^24.0.0",
67-
"jest-circus": "^24.0.0",
66+
"jest": "24.0.0",
67+
"jest-circus": "24.0.0",
6868
"jsdoc": "^3.6.2",
6969
"object-assign": "^4.1.1",
7070
"promise": "^8.0.1",

packages/vanilla/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@storybook/html": "5.2.6",
7070
"all-contributors-cli": "^5.2.1",
7171
"babel-core": "^7.0.0-bridge.0",
72-
"babel-jest": "^23.6.0",
72+
"babel-jest": "23.6.0",
7373
"babel-loader": "^8.0.4",
7474
"babel-plugin-dev-expression": "^0.2.1",
7575
"babel-plugin-macros": "^2.6.1",

yarn.lock

+37-11
Original file line numberDiff line numberDiff line change
@@ -5897,7 +5897,7 @@ babel-helpers@^6.24.1:
58975897
babel-runtime "^6.22.0"
58985898
babel-template "^6.24.1"
58995899

5900-
babel-jest@^23.6.0:
5900+
babel-jest@23.6.0:
59015901
version "23.6.0"
59025902
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-23.6.0.tgz#a644232366557a2240a0c083da6b25786185a2f1"
59035903
integrity sha512-lqKGG6LYXYu+DQh/slrQ8nxXQkEkhugdXsU6St7GmhVS7Ilc/22ArwqXNJrf0QaOBjZB0360qZMwXqDYQHXaew==
@@ -9819,7 +9819,7 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2:
98199819
dependencies:
98209820
homedir-polyfill "^1.0.1"
98219821

9822-
expect@^24.9.0:
9822+
expect@^24.0.0, expect@^24.9.0:
98239823
version "24.9.0"
98249824
resolved "https://registry.yarnpkg.com/expect/-/expect-24.9.0.tgz#b75165b4817074fa4a157794f46fe9f1ba15b6ca"
98259825
integrity sha512-wvVAx8XIol3Z5m9zvZXiyZOQ+sRJqNTIm6sGjdWlaZIeupQGO3WbYI+15D/AmEwZywL6wtJkbAbJtzkOfBuR0Q==
@@ -12554,7 +12554,25 @@ jest-changed-files@^24.9.0:
1255412554
execa "^1.0.0"
1255512555
throat "^4.0.0"
1255612556

12557-
jest-circus@^24.0.0, jest-circus@^24.8.0:
12557+
jest-circus@24.0.0:
12558+
version "24.0.0"
12559+
resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-24.0.0.tgz#456622bb14259996bb32868ebaa1ba467674c2c2"
12560+
integrity sha512-JJJrgJqr7TM5nUADhRzJygdLFfUERanG96OyeGl/c9Iwe2MupscgELZ5DTExBWpObSshiY0hfRyMZtzMEEvt3Q==
12561+
dependencies:
12562+
"@babel/traverse" "^7.1.0"
12563+
chalk "^2.0.1"
12564+
co "^4.6.0"
12565+
expect "^24.0.0"
12566+
is-generator-fn "^2.0.0"
12567+
jest-each "^24.0.0"
12568+
jest-matcher-utils "^24.0.0"
12569+
jest-message-util "^24.0.0"
12570+
jest-snapshot "^24.0.0"
12571+
jest-util "^24.0.0"
12572+
pretty-format "^24.0.0"
12573+
stack-utils "^1.0.1"
12574+
12575+
jest-circus@24.9.0, jest-circus@^24.0.0:
1255812576
version "24.9.0"
1255912577
resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-24.9.0.tgz#8a557683636807d537507eac02ba64c95b686485"
1256012578
integrity sha512-dwkvwFtRc9Anmk1XTc+bonVL8rVMZ3CeGMoFWmv1oaQThdAgvfI9bwaFlZp+gLVphNVz6ZLfCWo3ERhS5CeVvA==
@@ -12576,7 +12594,7 @@ jest-circus@^24.0.0, jest-circus@^24.8.0:
1257612594
stack-utils "^1.0.1"
1257712595
throat "^4.0.0"
1257812596

12579-
jest-cli@^24.9.0:
12597+
jest-cli@^24.0.0, jest-cli@^24.9.0:
1258012598
version "24.9.0"
1258112599
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-24.9.0.tgz#ad2de62d07472d419c6abc301fc432b98b10d2af"
1258212600
integrity sha512-+VLRKyitT3BWoMeSUIHRxV/2g8y9gw91Jh5z2UmXZzkZKpbC08CSehVxgHUwTpy+HwGcns/tqafQDJW7imYvGg==
@@ -12635,7 +12653,7 @@ jest-docblock@^24.3.0:
1263512653
dependencies:
1263612654
detect-newline "^2.1.0"
1263712655

12638-
jest-each@^24.9.0:
12656+
jest-each@^24.0.0, jest-each@^24.9.0:
1263912657
version "24.9.0"
1264012658
resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-24.9.0.tgz#eb2da602e2a610898dbc5f1f6df3ba86b55f8b05"
1264112659
integrity sha512-ONi0R4BvW45cw8s2Lrx8YgbeXL1oCQ/wIDwmsM3CqM/nlblNCPmnC3IPQlMbRFZu3wKdQ2U8BqM6lh3LJ5Bsog==
@@ -12733,7 +12751,7 @@ jest-leak-detector@^24.9.0:
1273312751
jest-get-type "^24.9.0"
1273412752
pretty-format "^24.9.0"
1273512753

12736-
jest-matcher-utils@^24.9.0:
12754+
jest-matcher-utils@^24.0.0, jest-matcher-utils@^24.9.0:
1273712755
version "24.9.0"
1273812756
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz#f5b3661d5e628dffe6dd65251dfdae0e87c3a073"
1273912757
integrity sha512-OZz2IXsu6eaiMAwe67c1T+5tUAtQyQx27/EMEkbFAGiw52tB9em+uGbzpcgYVpA8wl0hlxKPZxrly4CXU/GjHA==
@@ -12743,7 +12761,7 @@ jest-matcher-utils@^24.9.0:
1274312761
jest-get-type "^24.9.0"
1274412762
pretty-format "^24.9.0"
1274512763

12746-
jest-message-util@^24.9.0:
12764+
jest-message-util@^24.0.0, jest-message-util@^24.9.0:
1274712765
version "24.9.0"
1274812766
resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3"
1274912767
integrity sha512-oCj8FiZ3U0hTP4aSui87P4L4jC37BtQwUMqk+zk/b11FR19BJDeZsZAvIHutWnmtw7r85UmR3CEWZ0HWU2mAlw==
@@ -12853,7 +12871,7 @@ jest-serializer@^24.9.0:
1285312871
resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-24.9.0.tgz#e6d7d7ef96d31e8b9079a714754c5d5c58288e73"
1285412872
integrity sha512-DxYipDr8OvfrKH3Kel6NdED3OXxjvxXZ1uIY2I9OFbGg+vUkkg7AGvi65qbhbWNPvDckXmzMPbK3u3HaDO49bQ==
1285512873

12856-
jest-snapshot@^24.1.0, jest-snapshot@^24.9.0:
12874+
jest-snapshot@^24.0.0, jest-snapshot@^24.1.0, jest-snapshot@^24.9.0:
1285712875
version "24.9.0"
1285812876
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.9.0.tgz#ec8e9ca4f2ec0c5c87ae8f925cf97497b0e951ba"
1285912877
integrity sha512-uI/rszGSs73xCM0l+up7O7a40o90cnrk429LOiK3aeTvfC0HHmldbd81/B7Ix81KSFe1lwkbl7GnBGG4UfuDew==
@@ -12879,7 +12897,7 @@ jest-specific-snapshot@^2.0.0:
1287912897
dependencies:
1288012898
jest-snapshot "^24.1.0"
1288112899

12882-
jest-util@^24.9.0:
12900+
jest-util@^24.0.0, jest-util@^24.9.0:
1288312901
version "24.9.0"
1288412902
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-24.9.0.tgz#7396814e48536d2e85a37de3e4c431d7cb140162"
1288512903
integrity sha512-x+cZU8VRmOJxbA1K5oDBdxQmdq0OIdADarLxk0Mq+3XS4jgvhG/oKGWcIDCtPG0HgjxOYvF+ilPJQsAyXfbNOg==
@@ -12930,7 +12948,15 @@ jest-worker@^24.0.0, jest-worker@^24.6.0, jest-worker@^24.9.0:
1293012948
merge-stream "^2.0.0"
1293112949
supports-color "^6.1.0"
1293212950

12933-
jest@^24.0.0, jest@^24.8.0:
12951+
jest@24.0.0:
12952+
version "24.0.0"
12953+
resolved "https://registry.yarnpkg.com/jest/-/jest-24.0.0.tgz#b8e2c8e6274e1092c7f56e57762a1fdc7800201e"
12954+
integrity sha512-1Z2EblP4BnERbWZGtipGb9zjHDq7nCHgCY7V57F5SYaFRJV4DE1HKoOz+CRC5OrAThN9OVhRlUhTzsTFArg2iQ==
12955+
dependencies:
12956+
import-local "^2.0.0"
12957+
jest-cli "^24.0.0"
12958+
12959+
jest@24.9.0:
1293412960
version "24.9.0"
1293512961
resolved "https://registry.yarnpkg.com/jest/-/jest-24.9.0.tgz#987d290c05a08b52c56188c1002e368edb007171"
1293612962
integrity sha512-YvkBL1Zm7d2B1+h5fHEOdyjCG+sGMz4f8D86/0HiqJ6MB4MnDc8FgP5vdWsGnemOQro7lnYo8UakZ3+5A0jxGw==
@@ -16552,7 +16578,7 @@ pretty-error@^2.1.1:
1655216578
renderkid "^2.0.1"
1655316579
utila "~0.4"
1655416580

16555-
pretty-format@^24.9.0:
16581+
pretty-format@^24.0.0, pretty-format@^24.9.0:
1655616582
version "24.9.0"
1655716583
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.9.0.tgz#12fac31b37019a4eea3c11aa9a959eb7628aa7c9"
1655816584
integrity sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==

0 commit comments

Comments
 (0)