chore(deps): update dependency @testing-library/react-native to v14.0.0-beta.0 #956
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:
v14.0.0-alpha.1→14.0.0-beta.0Release Notes
callstack/react-native-testing-library (@testing-library/react-native)
v14.0.0-beta.0Compare Source
14.0.0-beta.0 (2026-01-20)
What's new
React 19 and React Native 0.78+
Async APIs
The main APIs are now async to support React 19's async rendering (
Suspense,use()):render,renderHook,fireEvent, andactreturn Promises and must be awaited.New renderer
react-test-rendererwith Test Renderer.HostElementreplacesReactTestInstance).containerAPIscreen.containeris now safe to use.Breaking changes
update(usererender),getQueriesForElement(usewithin),UNSAFE_root(usecontainer), andconcurrentRootoption.UNSAFE_getAllByType,UNSAFE_getByType,UNSAFE_getAllByProps, andUNSAFE_getByProps. Use standard queries likegetByRole.<Text>component. Theunstable_validateStringsRenderedWithinTextoption has been removed; validation is always on.Migration
Use the codemods to upgrade:
Update dependencies:
npx codemod@latest rntl-v14-update-deps --target . npm installMigrate to async:
See the v14 Migration Guide for details.
Full Changelog
v14.0.0-alpha.6Compare Source
14.0.0-alpha.6 (2026-01-09)
What's Changed
updateandgetQueriesForElementby @mdjastrzebski in #1856rendertests by @mdjastrzebski in #1859Full Changelog: callstack/react-native-testing-library@v14.0.0-alpha.5...v14.0.0-alpha.6
v14.0.0-alpha.5Compare Source
14.0.0-alpha.5 (2026-01-06)
renderAsync=>render,render=>unsafe_renderSyncrenderHookAsync=>renderHook,renderHook=>unsafe_renderHookSyncfireEventAsync=>fireEvent,fireEvent=>unsafe_fireEventSyncactAsync=>act,act=>unsafe_actv14.0.0-alpha.4Compare Source
14.0.0-alpha.4 (2026-01-04)
renderHookasync by defaultv14.0.0-alpha.3Compare Source
14.0.0-alpha.3 (2026-01-02)
toJSONoutputv14.0.0-alpha.2Compare Source
14.0.0-alpha.2 (2026-01-02)
v14 is back:
fireEventsupport with newunstable_fiberapi from UTRConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.