Skip to content

Commit

Permalink
patch @testing-library/svelte to support Svelte 5 based on testing-li…
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Feb 5, 2024
1 parent a67f7fb commit 4a5e191
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 3 deletions.
125 changes: 125 additions & 0 deletions code/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch

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

2 changes: 1 addition & 1 deletion code/renderers/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@testing-library/jest-dom": "^6.4.1",
"@testing-library/svelte": "^4.1.0",
"@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",
"jsdom": "^24.0.0",
"svelte": "^5.0.0-next.28",
Expand Down
15 changes: 13 additions & 2 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6583,7 +6583,7 @@ __metadata:
"@storybook/types": "workspace:*"
"@sveltejs/vite-plugin-svelte": "npm:^3.0.1"
"@testing-library/jest-dom": "npm:^6.4.1"
"@testing-library/svelte": "npm:^4.1.0"
"@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"
jsdom: "npm:^24.0.0"
svelte: "npm:^5.0.0-next.28"
Expand Down Expand Up @@ -6996,7 +6996,7 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/svelte@npm:^4.1.0":
"@testing-library/svelte@npm:4.1.0":
version: 4.1.0
resolution: "@testing-library/svelte@npm:4.1.0"
dependencies:
Expand All @@ -7007,6 +7007,17 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/svelte@patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch":
version: 4.1.0
resolution: "@testing-library/svelte@patch:@testing-library/svelte@npm%3A4.1.0#~/.yarn/patches/@testing-library-svelte-npm-4.1.0-34b7037bc0.patch::version=4.1.0&hash=b98ce0"
dependencies:
"@testing-library/dom": "npm:^9.3.1"
peerDependencies:
svelte: ^3 || ^4
checksum: 80f213b04582d0d64755e01d8a9a8b556883d2fb58f4b34902025b0459b1bb9beab4dc128d9dbee4c7d6ceb3d3107fd450cde0940176a4c2eecb513f2575514e
languageName: node
linkType: hard

"@testing-library/user-event@npm:14.3.0":
version: 14.3.0
resolution: "@testing-library/user-event@npm:14.3.0"
Expand Down

0 comments on commit 4a5e191

Please sign in to comment.