@testing-library/user-event
14.6.13 · 18 Nov 2026MIT94.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @testing-library/user-event From 11.4.2 to 12.0.0
1 release in betweenevery note read
- 5
- changes to make
- 0
- advisories fixed
- 2
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking12.0.0
- Breaking12.0.0
- Breaking12.0.0
- Breaking12.0.0
- Breaking12.0.0
Release by release
- Breaking
Remove
allAtOnceoption ontypein favor ofdelay: 0or the newpasteevent - Breaking
Make
hoverandunhoversync - Breaking
Remove
toggleSelectedOptionsin favor ofdeselectOptions - Breaking
(Potentially...) improve correctness of all APIs (so we fire some additional events and improve general correctness). This may or may not break your usage depending on whether you relied on our in-correctness 😅
- Breaking
typenow actually defaults thedelayto0, so it's not necessarilyasyncanymore. It's only async if you pass adelay. - New
Make several API and implementation improvements
- New
type: make delay default to 0
- Breaking
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.