Update dependency @testing-library/user-event to v14 #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.2.1
->^14.0.0
Release Notes
testing-library/user-event
v14.4.3
Compare Source
Bug Fixes
types
field inexports
(#1029) (5bed8c6)v14.4.2
Compare Source
Bug Fixes
exports
field (#1022) (7839e29)v14.4.1
Compare Source
Bug Fixes
v14.4.0
Compare Source
Features
auxclick
events (#1003) (2852509)Bug Fixes
Control
onAltGraph
(#1003) (2852509)contextmenu
events withdetail: 0
(#1003) (2852509)PointerEvent.isPrimary
(#1003) (2852509)button
property on pointer events separately from legacy mouse events (#1003) (2852509)mousedown
andmouseup
happen on different elements (#1003) (2852509)mouseover
,mouseenter
andmousemove
on disabled elements (#1003) (2852509)mouse*
events perpointerdown
event handler (#1003) (2852509)*out
and*over
events when moving into / out of nested elements (#1003) (2852509)*enter
and*leave
events on ancestors (#1003) (2852509)v14.3.0
Compare Source
Features
v14.2.6
Compare Source
Bug Fixes
pointer-events: none
on previous target (#991) (6e4058b)v14.2.5
Compare Source
Bug Fixes
value
onHTMLSelectElement
(#989) (77a7fa8)v14.2.4
Compare Source
Bug Fixes
window.FileList
instead of implicit global (c88865d)v14.2.3
Compare Source
Bug Fixes
v14.2.2
Compare Source
Bug Fixes
HTMLInputElement.setRangeText()
(#984) (73443ec)v14.2.1
Compare Source
Performance Improvements
v14.2.0
Compare Source
Features
pointerEventsCheck
(#950) (31b7091)Bug Fixes
asyncWrapper
(#952) (6f55fee)v14.1.1
Compare Source
14.1.1 (2022-04-17)
Bug Fixes
globalThis
instead ofglobal
(#928) (497c14d)v14.1.0
Compare Source
Features
advanceTimers
option (#907) (627a5cf)Bug Fixes
maxlength
(#909) (f5049c4)v14.0.4
Compare Source
14.0.4 (2022-04-01)
Bug Fixes
HTMLInputElement.select()
(#898) (6d36828)v14.0.3
Compare Source
14.0.3 (2022-03-31)
Bug Fixes
focus
(#895) (06f12a6)v14.0.2
Compare Source
14.0.2 (2022-03-31)
Bug Fixes
v14.0.1
Compare Source
14.0.1 (2022-03-31)
Bug Fixes
v14.0.0
Compare Source
⚠ BREAKING CHANGES
skipPointerEvents
has been removed.Use
pointerEventsCheck: PointerEventsCheckLevel.Never
instead.init
parameter has been removed fromuserEvent.upload
.applyAccept
defaults totrue
.userEvent.paste
API has new parameters.{ctrl}
,{del}
,{esc}
no longer describe a key. Use{Control}
,{Delete}
,{Escape}
instead.{alt}
,{ctrl}
,{meta}
,{shift}
no longer imply not releasing the key. Use{Alt>}
,{Control>}
,{Meta>}
,{Shift>}
instead.init
parameter has been removed from these APIs:userEvent.click
userEvent.dblClick
userEvent.tripleClick
userEvent.hover
userEvent.unhover
userEvent.selectOptions
userEvent.deselectOptions
userEvent.upload
no longer supportsclickInit
as part of its
init
parameter.{selectall}
has been removed.keyCode
property on keyboard events has been removed.userEvent.clear
on an element which is not editable.userEvent.clear
from focussing/selecting content.focusTrap
option has been removed fromuserEvent.tab()
.userEvent.type
does no longer move the cursorif used with
skipClick=false
and withoutinitialSelectionStart
.This might break tests relying on unintended side-effects of the previous implementation.
Features
beforeinput
(#851) (8890bd6)pointer
API (#750) (c12ee44)setup
API (#746) (719ba03)userEvent.copy
anduserEvent.cut
(#787) (8727a2d)userEvent.tripleClick
API (#773) (0badabd)[Tab]
support (#767) (87470ff){Control}+[KeyA]
(#774) (ea9b18a)pointerEventsCheck
option (#823) (e2a5f43)MouseEventInit
(#784) (56ebf7d)userEvent.paste
(#785) (f8fe217)userEvent.clear
API (#779) (1cda1b1)Bug Fixes
:disabled
(#872) (1a00fdf)copy
/cut
(#866) (5423094)paste
(#862) (d3d71ac)createEvent
(#781) (da5b5b7)KeyboardEvent.charCode
onkeypress
(#771) (55e194a)<button/>
on[Enter]
(#808) (eca157a)activeElement
on click outside of focusable (#834) (d64167c)<label/>
(#810) (2c5d9f1)contextmenu
onmousedown
(#811) (e1c4cad)tabIndex>0
beforetabIndex=0
(#809) (1bc5945)focusTrap
option (#772) (a0412c0)visibility:hidden
(#799) (a747b0a)Miscellaneous Chores
v13.5.0
Compare Source
Features
keydown
events (#728) (5d946d5)v13.4.2
Compare Source
Bug Fixes
v13.4.1
Compare Source
Bug Fixes
specialCharMap
(#738) (9519979)v13.4.0
Compare Source
Features
PageUp
andPageDown
oninput
(#734) (f731f68)v13.3.0
Compare Source
Features
v13.2.1
Compare Source
Bug Fixes
v13.2.0
Compare Source
Features
ArrowLeft
andArrowRight
on<textarea>
(#686) (f8f00d4)v13.1.9
Compare Source
Bug Fixes
<input>
(#679) (f2fec13)v13.1.8
Compare Source
Bug Fixes
v13.1.7
Compare Source
Bug Fixes
v13.1.6
Compare Source
Bug Fixes
v13.1.5
Compare Source
Bug Fixes
v13.1.4
Compare Source
Bug Fixes
checkbox
/radio
as clickable inputs (#654) (35d996e)v13.1.3
Compare Source
Bug Fixes
click
/hover
onpointer-events: none
(#647) (6b2ce66)v13.1.2
Compare Source
Bug Fixes
global.document
(#642) (c69a74a)v13.1.1
Compare Source
Bug Fixes
v13.1.0
Compare Source
Features
v13.0.16
Compare Source
Bug Fixes
<input type="number">
(#628) (f633a52)v13.0.15
Compare Source
Bug Fixes
v13.0.14
Compare Source
Bug Fixes
v13.0.13
Compare Source
Bug Fixes
v13.0.12
Compare Source
Bug Fixes
v13.0.11
Compare Source
Bug Fixes
v13.0.10
Compare Source
Bug Fixes
v13.0.9
Compare Source
Bug Fixes
v13.0.8
Compare Source
Bug Fixes
v13.0.7
Compare Source
Bug Fixes
v13.0.6
Compare Source
Bug Fixes
v13.0.5
Compare Source
Bug Fixes
v13.0.4
Compare Source
Bug Fixes
v13.0.3
Compare Source
Bug Fixes
v13.0.2
Compare Source
Bug Fixes
v13.0.1
Compare Source
Bug Fixes
v13.0.0
Compare Source
Features
BREAKING CHANGES
userEvent.type
features a rewritten implementation shared with the newuserEvent.keyboard
. This might break code depending on unintended/undocumented behavior of the previous implementation.userEvent.type
treats{
and[
as special characters.userEvent.type
returns no Promise if called withoutdelay
.v12.8.3
Compare Source
Bug Fixes
v12.8.2
Compare Source
Bug Fixes
v12.8.1
Compare Source
Bug Fixes
v12.8.0
Compare Source
Features
v12.7.4
Compare Source
Bug Fixes
v12.7.3
Compare Source
Reverts
v12.7.2
Compare Source
Bug Fixes
v12.7.1
Compare Source
Bug Fixes
v12.7.0
Compare Source
Features
v12.6.3
Compare Source
Bug Fixes
v12.6.2
Compare Source
Bug Fixes
v12.6.1
Compare Source
Bug Fixes
v12.6.0
Compare Source
Features
specialChars
map (#510) (e8b7778)v12.5.0
Compare Source
Features
v12.4.0
Compare Source
Features
v12.3.0
Compare Source
Features
v12.2.2
Compare Source
Bug Fixes
v12.2.1
Compare Source
Bug Fixes
v12.2.0
Compare Source
Features
v12.1.10
Compare Source
Bug Fixes
v12.1.9
Compare Source
Bug Fixes
v12.1.8
Compare Source
Bug Fixes
v12.1.7
Compare Source
Bug Fixes
v12.1.6
Compare Source
Bug Fixes
v12.1.5
Compare Source
Bug Fixes
v12.1.4
Compare Source
Bug Fixes
v12.1.3
Compare Source
Bug Fixes
v12.1.2
Compare Source
Bug Fixes
v12.1.1
Compare Source
Bug Fixes
v12.1.0
Compare Source
Features
v12.0.17
Compare Source
Bug Fixes
v12.0.16
Compare Source
Bug Fixes
v12.0.15
Compare Source
Bug Fixes
v12.0.14
Compare Source
Bug Fixes
v12.0.13
Compare Source
Bug Fixes
v12.0.12
Compare Source
Bug Fixes
v12.0.11
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.