Skip to content

Commit

Permalink
Update @testing-library/user-event to fix :check
Browse files Browse the repository at this point in the history
There's a bug in 14.3.0 that causes types to not be resolved,
testing-library/user-event#1146 (comment)
provides a work around.
  • Loading branch information
bradleyayers committed Jan 30, 2024
1 parent de6bb22 commit 1af0e07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"node": "~21.6"
},
"resolutions": {
"@sentry/svelte@npm:7.98.0": "patch:@sentry/svelte@npm%3A7.98.0#~/.yarn/patches/@sentry-svelte-npm-7.98.0-3cd6521606.patch"
"@sentry/svelte@npm:7.98.0": "patch:@sentry/svelte@npm%3A7.98.0#~/.yarn/patches/@sentry-svelte-npm-7.98.0-3cd6521606.patch",
"@testing-library/user-event@npm:14.3.0": "npm:@testing-library/user-event@^14.5.0"
}
}
1 change: 1 addition & 0 deletions projects/frontend/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ tasks:
- "dev"
- "-p"
- "6006"
local: true
platform: node
storybook-build:
command:
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3431,12 +3431,12 @@ __metadata:
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"
"@testing-library/user-event@npm:@testing-library/user-event@^14.5.0":
version: 14.5.2
resolution: "@testing-library/user-event@npm:14.5.2"
peerDependencies:
"@testing-library/dom": ">=7.21.4"
checksum: 8a0e708709f2510287568dff668bc7d6f5c4e7e17407452b7aa0fcf74732dccf511c63fc76ac514d753cb1f0586c1def59ba7f5245a9523715d37a8f198745d3
checksum: 68a0c2aa28a3c8e6eb05cafee29705438d7d8a9427423ce5064d44f19c29e89b5636de46dd2f28620fb10abba75c67130185bbc3aa23ac1163a227a5f36641e1
languageName: node
linkType: hard

Expand Down

0 comments on commit 1af0e07

Please sign in to comment.