Skip to content

Commit

Permalink
Merge pull request #27862 from storybookjs/kasper/upgrade-test-deps
Browse files Browse the repository at this point in the history
Test: Upgrade deps of @storybook/test
(cherry picked from commit 194f713)
  • Loading branch information
kasperpeulen authored and shilman committed Jun 27, 2024
1 parent 29e6416 commit 0ebb020
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 70 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions code/lib/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./dist/index.js",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"node": "./dist/index.js",
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
Expand All @@ -47,11 +48,11 @@
"@storybook/core-events": "workspace:*",
"@storybook/instrumenter": "workspace:*",
"@storybook/preview-api": "workspace:*",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/user-event": "^14.5.2",
"@vitest/expect": "1.3.1",
"@vitest/spy": "^1.3.1",
"@testing-library/dom": "10.1.0",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/user-event": "14.5.2",
"@vitest/expect": "1.6.0",
"@vitest/spy": "1.6.0",
"util": "^0.12.4"
},
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@
"resolutions": {
"@playwright/test": "1.36.0",
"@storybook/theming": "workspace:*",
"@testing-library/jest-dom/aria-query": "5.1.3",
"@types/node": "^18.0.0",
"@vitest/expect": "patch:@vitest/expect@npm%3A1.3.1#~/.yarn/patches/@vitest-expect-npm-1.3.1-973071a540.patch",
"@vitest/expect": "patch:@vitest/expect@npm%3A1.6.0#~/.yarn/patches/@vitest-expect-npm-1.6.0-0e382f8212.patch",
"esbuild": "^0.20.1",
"playwright": "1.36.0",
"playwright-core": "1.36.0",
Expand Down
163 changes: 106 additions & 57 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7066,11 +7066,11 @@ __metadata:
"@storybook/core-events": "workspace:*"
"@storybook/instrumenter": "workspace:*"
"@storybook/preview-api": "workspace:*"
"@testing-library/dom": "npm:^9.3.4"
"@testing-library/jest-dom": "npm:^6.4.2"
"@testing-library/user-event": "npm:^14.5.2"
"@vitest/expect": "npm:1.3.1"
"@vitest/spy": "npm:^1.3.1"
"@testing-library/dom": "npm:10.1.0"
"@testing-library/jest-dom": "npm:6.4.5"
"@testing-library/user-event": "npm:14.5.2"
"@vitest/expect": "npm:1.6.0"
"@vitest/spy": "npm:1.6.0"
chai: "npm:^4.4.1"
tinyspy: "npm:^2.2.0"
ts-dedent: "npm:^2.2.0"
Expand Down Expand Up @@ -7338,6 +7338,22 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/dom@npm:10.1.0":
version: 10.1.0
resolution: "@testing-library/dom@npm:10.1.0"
dependencies:
"@babel/code-frame": "npm:^7.10.4"
"@babel/runtime": "npm:^7.12.5"
"@types/aria-query": "npm:^5.0.1"
aria-query: "npm:5.3.0"
chalk: "npm:^4.1.0"
dom-accessibility-api: "npm:^0.5.9"
lz-string: "npm:^1.5.0"
pretty-format: "npm:^27.0.2"
checksum: 10c0/81f0e0a510d24e458c3af17777960ed678fb4fe464903ef8ec9ed816c9794fc69a673ea94f87b9e054b181383c51814605451dbf4fd9df93d0d8f24b4859990d
languageName: node
linkType: hard

"@testing-library/dom@npm:^7.28.1, @testing-library/dom@npm:^7.29.4":
version: 7.31.2
resolution: "@testing-library/dom@npm:7.31.2"
Expand All @@ -7354,7 +7370,7 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/dom@npm:^9.0.0, @testing-library/dom@npm:^9.3.1, @testing-library/dom@npm:^9.3.3, @testing-library/dom@npm:^9.3.4":
"@testing-library/dom@npm:^9.0.0, @testing-library/dom@npm:^9.3.1, @testing-library/dom@npm:^9.3.3":
version: 9.3.4
resolution: "@testing-library/dom@npm:9.3.4"
dependencies:
Expand Down Expand Up @@ -7400,7 +7416,40 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/jest-dom@npm:^6.4.1, @testing-library/jest-dom@npm:^6.4.2":
"@testing-library/jest-dom@npm:6.4.5":
version: 6.4.5
resolution: "@testing-library/jest-dom@npm:6.4.5"
dependencies:
"@adobe/css-tools": "npm:^4.3.2"
"@babel/runtime": "npm:^7.9.2"
aria-query: "npm:^5.0.0"
chalk: "npm:^3.0.0"
css.escape: "npm:^1.5.1"
dom-accessibility-api: "npm:^0.6.3"
lodash: "npm:^4.17.21"
redent: "npm:^3.0.0"
peerDependencies:
"@jest/globals": ">= 28"
"@types/bun": "*"
"@types/jest": ">= 28"
jest: ">= 28"
vitest: ">= 0.32"
peerDependenciesMeta:
"@jest/globals":
optional: true
"@types/bun":
optional: true
"@types/jest":
optional: true
jest:
optional: true
vitest:
optional: true
checksum: 10c0/4cfdd44e2abab2b9d399c47cbfe686729bb65160d7df0f9e2329aaaea7702f6e852a9eefb29b468f00c1e5a5274b684f8cac76959d33299dfa909ba007ea191d
languageName: node
linkType: hard

"@testing-library/jest-dom@npm:^6.4.1":
version: 6.4.2
resolution: "@testing-library/jest-dom@npm:6.4.2"
dependencies:
Expand Down Expand Up @@ -7482,7 +7531,7 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/user-event@npm:^14.4.0, @testing-library/user-event@npm:^14.4.3, @testing-library/user-event@npm:^14.5.2":
"@testing-library/user-event@npm:14.5.2, @testing-library/user-event@npm:^14.4.0, @testing-library/user-event@npm:^14.4.3":
version: 14.5.2
resolution: "@testing-library/user-event@npm:14.5.2"
peerDependencies:
Expand Down Expand Up @@ -8881,25 +8930,25 @@ __metadata:
languageName: node
linkType: hard

"@vitest/expect@npm:1.3.1":
version: 1.3.1
resolution: "@vitest/expect@npm:1.3.1"
"@vitest/expect@npm:1.6.0":
version: 1.6.0
resolution: "@vitest/expect@npm:1.6.0"
dependencies:
"@vitest/spy": "npm:1.3.1"
"@vitest/utils": "npm:1.3.1"
"@vitest/spy": "npm:1.6.0"
"@vitest/utils": "npm:1.6.0"
chai: "npm:^4.3.10"
checksum: 10c0/ea66a1e912d896a481a27631b68089b885af7e8ed62ba8aaa119c37a9beafe6c094fd672775a20e6e23460af66e294f9ca259e6e0562708d1b7724eaaf53c7bb
checksum: 10c0/a4351f912a70543e04960f5694f1f1ac95f71a856a46e87bba27d3eb72a08c5d11d35021cbdc6077452a152e7d93723fc804bba76c2cc53c8896b7789caadae3
languageName: node
linkType: hard

"@vitest/expect@patch:@vitest/expect@npm%3A1.3.1#~/.yarn/patches/@vitest-expect-npm-1.3.1-973071a540.patch":
version: 1.3.1
resolution: "@vitest/expect@patch:@vitest/expect@npm%3A1.3.1#~/.yarn/patches/@vitest-expect-npm-1.3.1-973071a540.patch::version=1.3.1&hash=9dbd39"
"@vitest/expect@patch:@vitest/expect@npm%3A1.6.0#~/.yarn/patches/@vitest-expect-npm-1.6.0-0e382f8212.patch":
version: 1.6.0
resolution: "@vitest/expect@patch:@vitest/expect@npm%3A1.6.0#~/.yarn/patches/@vitest-expect-npm-1.6.0-0e382f8212.patch::version=1.6.0&hash=7cb178"
dependencies:
"@vitest/spy": "npm:1.3.1"
"@vitest/utils": "npm:1.3.1"
"@vitest/spy": "npm:1.6.0"
"@vitest/utils": "npm:1.6.0"
chai: "npm:^4.3.10"
checksum: 10c0/f54446b97ffac9d64653ed771b883e4d733dc4f3bb6d4b161a583a8c5ef0461383f3d457174af71baf5b2d3c92e1b75495f0c1d0cca75644ad4a6f0df8f4ec55
checksum: 10c0/073cfd09bfe6934408d0041be5a7251c2f80563a655f9387b8cd16a802752b47f1084de921ad6b5c45a48b5447773c52358c1cf68bb7e3b665b44c8cba19d8d3
languageName: node
linkType: hard

Expand Down Expand Up @@ -8934,12 +8983,12 @@ __metadata:
languageName: node
linkType: hard

"@vitest/spy@npm:1.3.1, @vitest/spy@npm:^1.3.1":
version: 1.3.1
resolution: "@vitest/spy@npm:1.3.1"
"@vitest/spy@npm:1.6.0":
version: 1.6.0
resolution: "@vitest/spy@npm:1.6.0"
dependencies:
tinyspy: "npm:^2.2.0"
checksum: 10c0/efc42f679d2a51fc6583ca3136ccd47581cb27c923ed3cb0500f5dee9aac99b681bfdd400c16ef108f2e0761daa642bc190816a6411931a2aba99ebf8b213dd4
checksum: 10c0/df66ea6632b44fb76ef6a65c1abbace13d883703aff37cd6d062add6dcd1b883f19ce733af8e0f7feb185b61600c6eb4042a518e4fb66323d0690ec357f9401c
languageName: node
linkType: hard

Expand All @@ -8955,15 +9004,15 @@ __metadata:
languageName: node
linkType: hard

"@vitest/utils@npm:1.3.1, @vitest/utils@npm:^1.3.1":
version: 1.3.1
resolution: "@vitest/utils@npm:1.3.1"
"@vitest/utils@npm:1.6.0, @vitest/utils@npm:^1.3.1":
version: 1.6.0
resolution: "@vitest/utils@npm:1.6.0"
dependencies:
diff-sequences: "npm:^29.6.3"
estree-walker: "npm:^3.0.3"
loupe: "npm:^2.3.7"
pretty-format: "npm:^29.7.0"
checksum: 10c0/d604c8ad3b1aee30d4dcd889098f591407bfe18547ff96485b1d1ed54eff58219c756a9544a7fbd4e37886863abacd7a89a76334cb3ea7f84c3d496bb757db23
checksum: 10c0/8b0d19835866455eb0b02b31c5ca3d8ad45f41a24e4c7e1f064b480f6b2804dc895a70af332f14c11ed89581011b92b179718523f55f5b14787285a0321b1301
languageName: node
linkType: hard

Expand Down Expand Up @@ -10021,6 +10070,15 @@ __metadata:
languageName: node
linkType: hard

"aria-query@npm:5.3.0, aria-query@npm:^5.0.0, aria-query@npm:^5.3.0":
version: 5.3.0
resolution: "aria-query@npm:5.3.0"
dependencies:
dequal: "npm:^2.0.3"
checksum: 10c0/2bff0d4eba5852a9dd578ecf47eaef0e82cc52569b48469b0aac2db5145db0b17b7a58d9e01237706d1e14b7a1b0ac9b78e9c97027ad97679dd8f91b85da1469
languageName: node
linkType: hard

"aria-query@npm:^4.2.2":
version: 4.2.2
resolution: "aria-query@npm:4.2.2"
Expand All @@ -10031,15 +10089,6 @@ __metadata:
languageName: node
linkType: hard

"aria-query@npm:^5.3.0":
version: 5.3.0
resolution: "aria-query@npm:5.3.0"
dependencies:
dequal: "npm:^2.0.3"
checksum: 10c0/2bff0d4eba5852a9dd578ecf47eaef0e82cc52569b48469b0aac2db5145db0b17b7a58d9e01237706d1e14b7a1b0ac9b78e9c97027ad97679dd8f91b85da1469
languageName: node
linkType: hard

"arr-diff@npm:^4.0.0":
version: 4.0.0
resolution: "arr-diff@npm:4.0.0"
Expand Down Expand Up @@ -10834,23 +10883,23 @@ __metadata:
languageName: node
linkType: hard

"body-parser@npm:1.20.1":
version: 1.20.1
resolution: "body-parser@npm:1.20.1"
"body-parser@npm:1.20.2":
version: 1.20.2
resolution: "body-parser@npm:1.20.2"
dependencies:
bytes: "npm:3.1.2"
content-type: "npm:~1.0.4"
content-type: "npm:~1.0.5"
debug: "npm:2.6.9"
depd: "npm:2.0.0"
destroy: "npm:1.2.0"
http-errors: "npm:2.0.0"
iconv-lite: "npm:0.4.24"
on-finished: "npm:2.4.1"
qs: "npm:6.11.0"
raw-body: "npm:2.5.1"
raw-body: "npm:2.5.2"
type-is: "npm:~1.6.18"
unpipe: "npm:1.0.0"
checksum: 10c0/a202d493e2c10a33fb7413dac7d2f713be579c4b88343cd814b6df7a38e5af1901fc31044e04de176db56b16d9772aa25a7723f64478c20f4d91b1ac223bf3b8
checksum: 10c0/06f1438fff388a2e2354c96aa3ea8147b79bfcb1262dfcc2aae68ec13723d01d5781680657b74e9f83c808266d5baf52804032fbde2b7382b89bd8cdb273ace9
languageName: node
linkType: hard

Expand Down Expand Up @@ -12367,7 +12416,7 @@ __metadata:
languageName: node
linkType: hard

"content-type@npm:~1.0.4":
"content-type@npm:~1.0.4, content-type@npm:~1.0.5":
version: 1.0.5
resolution: "content-type@npm:1.0.5"
checksum: 10c0/b76ebed15c000aee4678c3707e0860cb6abd4e680a598c0a26e17f0bfae723ec9cc2802f0ff1bc6e4d80603719010431d2231018373d4dde10f9ccff9dadf5af
Expand Down Expand Up @@ -12395,10 +12444,10 @@ __metadata:
languageName: node
linkType: hard

"cookie@npm:0.5.0":
version: 0.5.0
resolution: "cookie@npm:0.5.0"
checksum: 10c0/c01ca3ef8d7b8187bae434434582288681273b5a9ed27521d4d7f9f7928fe0c920df0decd9f9d3bbd2d14ac432b8c8cf42b98b3bdd5bfe0e6edddeebebe8b61d
"cookie@npm:0.6.0":
version: 0.6.0
resolution: "cookie@npm:0.6.0"
checksum: 10c0/f2318b31af7a31b4ddb4a678d024514df5e705f9be5909a192d7f116cfb6d45cbacf96a473fa733faa95050e7cff26e7832bb3ef94751592f1387b71c8956686
languageName: node
linkType: hard

Expand Down Expand Up @@ -15057,15 +15106,15 @@ __metadata:
linkType: hard

"express@npm:^4.17.3":
version: 4.18.2
resolution: "express@npm:4.18.2"
version: 4.19.2
resolution: "express@npm:4.19.2"
dependencies:
accepts: "npm:~1.3.8"
array-flatten: "npm:1.1.1"
body-parser: "npm:1.20.1"
body-parser: "npm:1.20.2"
content-disposition: "npm:0.5.4"
content-type: "npm:~1.0.4"
cookie: "npm:0.5.0"
cookie: "npm:0.6.0"
cookie-signature: "npm:1.0.6"
debug: "npm:2.6.9"
depd: "npm:2.0.0"
Expand All @@ -15091,7 +15140,7 @@ __metadata:
type-is: "npm:~1.6.18"
utils-merge: "npm:1.0.1"
vary: "npm:~1.1.2"
checksum: 10c0/75af556306b9241bc1d7bdd40c9744b516c38ce50ae3210658efcbf96e3aed4ab83b3432f06215eae5610c123bc4136957dc06e50dfc50b7d4d775af56c4c59c
checksum: 10c0/e82e2662ea9971c1407aea9fc3c16d6b963e55e3830cd0ef5e00b533feda8b770af4e3be630488ef8a752d7c75c4fcefb15892868eeaafe7353cb9e3e269fdcb
languageName: node
linkType: hard

Expand Down Expand Up @@ -23867,15 +23916,15 @@ __metadata:
languageName: node
linkType: hard

"raw-body@npm:2.5.1":
version: 2.5.1
resolution: "raw-body@npm:2.5.1"
"raw-body@npm:2.5.2":
version: 2.5.2
resolution: "raw-body@npm:2.5.2"
dependencies:
bytes: "npm:3.1.2"
http-errors: "npm:2.0.0"
iconv-lite: "npm:0.4.24"
unpipe: "npm:1.0.0"
checksum: 10c0/5dad5a3a64a023b894ad7ab4e5c7c1ce34d3497fc7138d02f8c88a3781e68d8a55aa7d4fd3a458616fa8647cc228be314a1c03fb430a07521de78b32c4dd09d2
checksum: 10c0/b201c4b66049369a60e766318caff5cb3cc5a900efd89bdac431463822d976ad0670912c931fdbdcf5543207daf6f6833bca57aa116e1661d2ea91e12ca692c4
languageName: node
linkType: hard

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@storybook/nextjs": "^8.0.0",
"@storybook/react": "^8.0.0",
"@storybook/test": "^8.0.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^14.2.1",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@storybook/test": "^8.0.0",
"@swc/core": "^1.4.2",
"@swc/jest": "^0.2.36",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^14.2.1",
"@types/identity-obj-proxy": "^3",
"@types/react": "^18.2.55",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@storybook/test": "^8.0.0",
"@storybook/vue3": "^8.0.0",
"@storybook/vue3-vite": "^8.0.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/jest-dom": "^6.4.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-vue": "^5.0.4",
Expand Down

0 comments on commit 0ebb020

Please sign in to comment.