Repository navigation
fix(deps): update testing-library monorepo (major) - #1008
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/major-testing-library-monorepo
branch
3 times, most recently
from
October 9, 2026 17:43
b488d8a to
ec74467
Compare
renovate
Bot
force-pushed
the
renovate/major-testing-library-monorepo
branch
from
October 11, 2026 13:35
ec74467 to
485c272
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^6.9.1→^7.0.0^6.10.0→^7.0.0^13.3.3→^14.1.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
testing-library/jest-dom (@testing-library/jest-dom)
v7.0.1Compare Source
Bug Fixes
v7.0.0Compare Source
Features
BREAKING CHANGES
Node.js version is now 22.
Repaired release for #731
v6.10.0Compare Source
Features
callstack/react-native-testing-library (@testing-library/react-native)
v14.1.0Compare Source
Features
fireEvent.layout()to simulate the layout engine measuring an element, invoking theonLayouthandler with a synthetic layout event. UnlikefireEvent(element, 'layout'), itdoes not bubble to parent elements.
fireEvent.scroll()anduserEvent.scrollTo()use the size from the last layout event on thesame
ScrollViewas the defaultlayoutMeasurement.userEvent.accessibilityAction()to dispatch a named accessibility action to anelement, invoking its
onAccessibilityActionhandler.userEvent.pullToRefresh()to simulate the pull-to-refresh gesture on a hostScrollViewelement, invoking theonRefreshhandler of itsrefreshControlprop.eventDiagnosticsconfiguration option. When enabled,fireEventanduserEventlog a warning when no handler is called, e.g. because the target is disabled, blocked by
pointerEvents, or has no handler for the event. Off by default. See theconfiguration docs.
test-renderer@1.3) and React Native 0.88.Bug fixes
userEvent.scrollTo()emits ascrollevent for the last step of a drag scroll, matchingnative behavior, and no longer emits
scrollevents when the scroll offset does not change.setImmediatefallback in environments without it (e.g. jsdom) picking up Jestfake timers, which could make async utilities hang.
Deprecations
fireEventwarns when a direct event bubbles from a nested element to the host element thatemits it, e.g.
scrollfromScrollViewcontent to theScrollView. These events will stopbubbling in the next major version. See the
fireEventdocs for the list of directevents.
v14.0.1Compare Source
Bug fixes
waitForcleans up its timers when an error is thrown while printing theonTimeoutoutput.
userEvent.type(),userEvent.clear(), anduserEvent.paste()includeselectionin theTextInputchangeevent.v14.0.0Compare Source
Migration guide
See the Migration to 14.x guide for
step-by-step upgrade instructions, codemods, and before/after examples.
Breaking changes
^22.13.0 || >=24.Test Renderer.
that matches your React 19 minor version.
render()now returnsPromise<RenderResult>.renderHook()now returnsPromise<RenderHookResult>.fireEvent()and its helpers now returnPromise<void>.act()now always returns a Promise and should always be awaited.renderAsync,renderHookAsync, andfireEventAsyncAPIs. Userender,renderHook, andfireEventinstead.updatealias. Usererenderinstead.getQueriesForElementalias. Usewithininstead.UNSAFE_root. Usecontainerfor the pseudo-element container orrootforthe first rendered host element.
UNSAFE_*queries:UNSAFE_getAllByTypeUNSAFE_getByTypeUNSAFE_getAllByPropsUNSAFE_getByPropsconcurrentRootrender and configuration option. Concurrent rendering isalways enabled in v14.
createNodeMockrender option, which is not supported by the new Test Rendererintegration.
unstable_validateStringsRenderedWithinTextrender option. Text stringvalidation is now always enabled.
Notable changes
containerAPI as a safe pseudo-element container, aligned with ReactTesting Library semantics.
components are no longer visible through the test tree.
TestInstancefrom Test Renderer instead ofReactTestInstancefrom React Test Renderer.as
display: 'none', so visibility queries and matchers behave closer to runtime behavior.fireEvent.press()andfireEvent.scroll()now pass default synthetic native event objectsto handlers and deep-merge any event props supplied by the test.
TextInputplaceholder handling, child accessible name concatenation, and strictergetByRole(..., { name })matching.configure,render,renderHook, anduserEvent.setupnow warn when unknown options arepassed, helping catch stale or misspelled options during migration.
<Text>components now throw, matchingReact Native runtime behavior.
Test Renderer versions
Install the Test Renderer version that matches your React 19 minor version:
19.2test-renderer@1.219.1test-renderer@1.119.0test-renderer@1.0Older Test Renderer lines may not support newer React 19 features in tests. Newer Test
Renderer lines can produce peer dependency warnings, or an install error with
npm. See theTest Renderer React 19 compatibility lines
for the latest recommendations.
Codemods
Two codemods are available to automate the most common v14 upgrade work:
rntl-v14-update-depsupdates dependencies by removing React Test Renderer packages,adding Test Renderer, and updating React Native Testing Library.
rntl-v14-async-functionsupdates test code for asyncrender,renderHook,fireEvent,act,rerender, andunmountusage.Full changelog
See the full GitHub comparison:
Configuration
📅 Schedule: (UTC)
🚦 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.