Skip to content

Commit

Permalink
Merge pull request #28971 from storybookjs/jeppe/fix-testing-library-…
Browse files Browse the repository at this point in the history
…jest-dom-dep

CI: Fix portable-stories-react not being able to link `@testing-library/jest-dom`
  • Loading branch information
JReinhold authored Aug 26, 2024
2 parents 6388f93 + 4419ab2 commit db7ff48
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion code/lib/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@storybook/global": "^5.0.0",
"@storybook/instrumenter": "workspace:*",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.4.8",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/user-event": "14.5.2",
"@vitest/expect": "2.0.5",
"@vitest/spy": "2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"@storybook/web-components-vite": "workspace:*",
"@storybook/web-components-webpack5": "workspace:*",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
Expand Down
1 change: 0 additions & 1 deletion code/renderers/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@testing-library/jest-dom": "^6.4.1",
"@testing-library/svelte": "patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch",
"expect-type": "^0.15.0",
"fs-extra": "^11.1.0",
Expand Down
16 changes: 7 additions & 9 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2229,7 +2229,7 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.22.15, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.24.4, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2":
"@babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.22.15, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.24.4, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7":
version: 7.24.7
resolution: "@babel/runtime@npm:7.24.7"
dependencies:
Expand Down Expand Up @@ -6757,7 +6757,7 @@ __metadata:
"@storybook/web-components-vite": "workspace:*"
"@storybook/web-components-webpack5": "workspace:*"
"@testing-library/dom": "npm:^10.4.0"
"@testing-library/jest-dom": "npm:^6.4.8"
"@testing-library/jest-dom": "npm:^6.5.0"
"@testing-library/react": "npm:^16.0.0"
"@testing-library/user-event": "npm:^14.5.2"
"@trivago/prettier-plugin-sort-imports": "npm:^4.3.0"
Expand Down Expand Up @@ -6943,7 +6943,6 @@ __metadata:
"@storybook/preview-api": "workspace:^"
"@storybook/theming": "workspace:^"
"@sveltejs/vite-plugin-svelte": "npm:^3.0.2"
"@testing-library/jest-dom": "npm:^6.4.1"
"@testing-library/svelte": "patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch"
expect-type: "npm:^0.15.0"
fs-extra: "npm:^11.1.0"
Expand Down Expand Up @@ -6993,7 +6992,7 @@ __metadata:
"@storybook/global": "npm:^5.0.0"
"@storybook/instrumenter": "workspace:*"
"@testing-library/dom": "npm:10.4.0"
"@testing-library/jest-dom": "npm:6.4.8"
"@testing-library/jest-dom": "npm:6.5.0"
"@testing-library/user-event": "npm:14.5.2"
"@vitest/expect": "npm:2.0.5"
"@vitest/spy": "npm:2.0.5"
Expand Down Expand Up @@ -7260,19 +7259,18 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/jest-dom@npm:6.4.8, @testing-library/jest-dom@npm:^6.4.1, @testing-library/jest-dom@npm:^6.4.8":
version: 6.4.8
resolution: "@testing-library/jest-dom@npm:6.4.8"
"@testing-library/jest-dom@npm:6.5.0, @testing-library/jest-dom@npm:^6.5.0":
version: 6.5.0
resolution: "@testing-library/jest-dom@npm:6.5.0"
dependencies:
"@adobe/css-tools": "npm:^4.4.0"
"@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"
checksum: 10c0/8eececcac1ec7728c038b9d9eabfc8b8dcf4dc1e997c959450bff16d946e3344275862b84bfe0e1d1beb3817368e782464816aca47ab5c94f0ebf66db71df55d
checksum: 10c0/fd5936a547f04608d8de15a7de3ae26516f21023f8f45169b10c8c8847015fd20ec259b7309f08aa1031bcbc37c6e5e6f532d1bb85ef8f91bad654193ec66a4c
languageName: node
linkType: hard

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@storybook/test": "^8.0.0",
"@swc/core": "^1.4.2",
"@swc/jest": "^0.2.36",
"@testing-library/jest-dom": "^6.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^14.2.1",
"@types/identity-obj-proxy": "^3",
"@types/react": "^18.2.55",
Expand All @@ -115,4 +115,4 @@
"typescript": "^5.2.2",
"vite": "^5.1.1"
}
}
}

0 comments on commit db7ff48

Please sign in to comment.