Update testing-library monorepo (major) #23
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:
^5.15.0->^6.0.0^14.0.0->^16.0.0^13.5.0->^14.0.0Release Notes
testing-library/jest-dom (@testing-library/jest-dom)
v6.9.1Compare Source
Bug Fixes
Nodeerror (nodejs) (#707) (0ff8904)v6.9.0Compare Source
Features
v6.8.0Compare Source
Features
v6.7.0Compare Source
Features
v6.6.4Compare Source
Performance Improvements
v6.6.3Compare Source
Bug Fixes
v6.6.2Compare Source
Bug Fixes
v6.6.1Compare Source
Bug Fixes
v6.6.0Compare Source
Features
v6.5.0Compare Source
Features
v6.4.8Compare Source
Bug Fixes
v6.4.7Compare Source
Bug Fixes
toHaveClass(#611) (5cc6298)v6.4.6Compare Source
Bug Fixes
v6.4.5Compare Source
Bug Fixes
v6.4.4Compare Source
Bug Fixes
v6.4.3Compare Source
Bug Fixes
toBeRequired(#590) (20aca33)v6.4.2Compare Source
Bug Fixes
v6.4.1Compare Source
Bug Fixes
TestingLibraryMatchersfrom "./matchers" (#576) (dd1c4dd)v6.4.0Compare Source
Features
v6.3.0Compare Source
Features
v6.2.1Compare Source
Bug Fixes
v6.2.0Compare Source
Features
v6.1.6Compare Source
Bug Fixes
v6.1.5Compare Source
Bug Fixes
v6.1.4Compare Source
Bug Fixes
@adobe/css-toolsto4.3.1to address vulnerability (#532) (44f1eab)v6.1.3Compare Source
Bug Fixes
v6.1.2Compare Source
Bug Fixes
v6.1.1Compare Source
Bug Fixes
v6.1.0Compare Source
Features
v6.0.1Compare Source
Bug Fixes
v6.0.0Compare Source
Features
BREAKING CHANGES
the default import path or one of the new test platform-specific
paths to automatically extend the appropriate "expect" instance.
extend-expect was not documented in the Readme, so this change should
have minimal impact.
Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:
For example:
import '@testing-library/jest-dom/jest-globals'
Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.
It's also (still) possible to import the matchers directly without
side effects:
import * as matchers from '@testing-library/jest-dom/matchers'
testing-library/react-testing-library (@testing-library/react)
v16.3.0Compare Source
Features
v16.2.0Compare Source
Features
v16.1.0Compare Source
Features
v16.0.1Compare Source
Bug Fixes
v16.0.0Compare Source
Features
@testing-library/domand@types/react-domto peer dependencies (#1305) (a4744fa)BREAKING CHANGES
@testing-library/domwas moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of@testing-library/dominstalled that frequently caused bugs when used with@testing-library/user-event. We will also be able to allow new versions of@testing-library/dombeing used without a SemVer major release of@testing-library/reactby just widening the peer dependency.@types/react-domneeds to be installed if you're typechecking files using@testing-library/react.v15.0.7Compare Source
Bug Fixes
actis notanywhenReact.actis not declared (#1323) (c1f2957)v15.0.6Compare Source
Bug Fixes
v15.0.5Compare Source
Bug Fixes
containeroption based onhydrate(#1313) (d143f46)v15.0.4Compare Source
Bug Fixes
renderHookoptions extend options forrender(#1308) (48282c2)v15.0.3Compare Source
Bug Fixes
document(#1304) (067d0c6)v15.0.2Compare Source
Bug Fixes
legacyRooterror message (#1301) (c63b873)v15.0.1Compare Source
Bug Fixes
v15.0.0Compare Source
Release
BREAKING CHANGES
@testing-library/domchanges various roles. Check out the changed tests in testing-library/dom-testing-library@2c57055to get an overview about what changed.testing-library/user-event (@testing-library/user-event)
v14.6.1Compare Source
Bug Fixes
delayoption (#1175) (2edf14d)ContextMenutodefaultKeyMap(#1079) (3e471d1)defaultKeyMap(#1226) (543ecb0)pointerdownisdefaultPrevented(#1121) (f681f7b)buttonandbuttonsproperties onPointerEvent(#1219) (6614f72)1as default value forPointerEvent.widthandPointerEvent.height(#1224) (f0468d0)clickevent loop on form-associated custom element (#1238) (465fc7e)clickevent on non-focusable control (#1130) (e429094)acceptfilter more leniently (#1064) (a344ad4)v14.6.0Compare Source
Features
FocusEventin hidden documents (#1252) (1ed8b15)Bug Fixes
DataTransferItem.getAsString()callback (#1251) (7b11b0e)PointerCoords.xinisDifferentPointerPosition(#1216) (75edef5)PointerCoordsinisDifferentPointerPosition()(#1229) (5f3d28f)v14.5.2Compare Source
Bug Fixes
v14.5.1Compare Source
Bug Fixes
v14.5.0Compare Source
Bug Fixes
Features
v14.4.3Compare Source
Bug Fixes
typesfield inexports(#1029) (5bed8c6)v14.4.2Compare Source
Bug Fixes
exportsfield (#1022) (7839e29)v14.4.1Compare Source
Bug Fixes
v14.4.0Compare Source
Features
auxclickevents (#1003) (2852509)Bug Fixes
ControlonAltGraph(#1003) (2852509)contextmenuevents withdetail: 0(#1003) (2852509)PointerEvent.isPrimary(#1003) (2852509)buttonproperty on pointer events separately from legacy mouse events (#1003) (2852509)mousedownandmouseuphappen on different elements (#1003) (2852509)mouseover,mouseenterandmousemoveon disabled elements (#1003) (2852509)mouse*events perpointerdownevent handler (#1003) (2852509)*outand*overevents when moving into / out of nested elements (#1003) (2852509)*enterand*leaveevents on ancestors (#1003) (2852509)v14.3.0Compare Source
Features
v14.2.6Compare Source
Bug Fixes
pointer-events: noneon previous target (#991) (6e4058b)v14.2.5Compare Source
Bug Fixes
valueonHTMLSelectElement(#989) (77a7fa8)v14.2.4Compare Source
Bug Fixes
window.FileListinstead of implicit global (c88865d)v14.2.3Compare Source
Bug Fixes
v14.2.2Compare Source
Bug Fixes
HTMLInputElement.setRangeText()(#984) (73443ec)v14.2.1Compare Source
Performance Improvements
v14.2.0Compare Source
Features
pointerEventsCheck(#950) (31b7091)Bug Fixes
asyncWrapper(#952) (6f55fee)v14.1.1Compare Source
14.1.1 (2022-04-17)
Bug Fixes
globalThisinstead ofglobal(#928) (497c14d)v14.1.0Compare Source
Features
advanceTimersoption (#907) (627a5cf)Bug Fixes
maxlength(#909) (f5049c4)v14.0.4Compare Source
14.0.4 (2022-04-01)
Bug Fixes
HTMLInputElement.select()(#898) (6d36828)v14.0.3Compare Source
14.0.3 (2022-03-31)
Bug Fixes
focus(#895) (06f12a6)v14.0.2Compare Source
14.0.2 (2022-03-31)
Bug Fixes
v14.0.1Compare Source
14.0.1 (2022-03-31)
Bug Fixes
v14.0.0Compare Source
⚠ BREAKING CHANGES
skipPointerEventshas been removed.Use
pointerEventsCheck: PointerEventsCheckLevel.Neverinstead.initparameter has been removed fromuserEvent.upload.applyAcceptdefaults totrue.userEvent.pasteAPI 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.initparameter has been removed from these APIs:userEvent.clickuserEvent.dblClickuserEvent.tripleClickuserEvent.hoveruserEvent.unhoveruserEvent.selectOptionsuserEvent.deselectOptionsuserEvent.uploadno longer supportsclickInitas part of its
initparameter.{selectall}has been removed.keyCodeproperty on keyboard events has been removed.userEvent.clearon an element which is not editable.userEvent.clearfrom focussing/selecting content.focusTrapoption has been removed fromuserEvent.tab().userEvent.typedoes no longer move the cursorif used with
skipClick=falseand withoutinitialSelectionStart.This might break tests relying on unintended side-effects of the previous implementation.
Features
beforeinput(#851) (8890bd6)pointerAPI (#750) (c12ee44)setupAPI (#746) (719ba03)userEvent.copyanduserEvent.cut(#787) (8727a2d)userEvent.tripleClickAPI (#773) (0badabd)[Tab]support (#767) (87470ff){Control}+[KeyA](#774) (ea9b18a)pointerEventsCheckoption (#823) (e2a5f43)MouseEventInit(#784) (56ebf7d)userEvent.paste(#785) (f8fe217)userEvent.clearAPI (#779) (1cda1b1)Bug Fixes
:disabled(#872) (1a00fdf)copy/cut(#866) (5423094)paste(#862) (d3d71ac)createEvent(#781) (da5b5b7)KeyboardEvent.charCodeonkeypress(#771) (55e194a)<button/>on[Enter](#808) (eca157a)activeElementon click outside of focusable (#834) (d64167c)<label/>(#810) (2c5d9f1)contextmenuonmousedown(#811) (e1c4cad)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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.