chore(deps): update dependency @testing-library/react-native to v14 - #189
Closed
renovate[bot] wants to merge 1 commit into
Closed
chore(deps): update dependency @testing-library/react-native to v14#189renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/major-repo-tooling
branch
from
September 7, 2026 04:34
e3a3e8c to
b99481b
Compare
This was referenced Sep 7, 2026
simonvanlierde
added a commit
that referenced
this pull request
Sep 7, 2026
…ge 3 (#191) * chore(deps): update repo tooling to jest 30, pnpm 12, and async-storage 3 Takes the non-blocked half of #189. Babel 8 and TypeScript 7 are held back by upstream and pinned in the Renovate config rather than carried here. - rename AsyncStorage `multiRemove` to v3's `removeMany`, and point the jest setup at the mock's new `/jest` entry point - wrap the shipped AsyncStorage mock in jest spies: v3 ships plain functions, and tests assert on the calls - clear the mock through the instance, not `clearAllMockStorages()`, which empties the registry and leaves the handed-out instance holding its data - type the test mocks that jest 30 now checks against their real signatures - restore node types to the app tsconfig, dropped when @types/jest stopped pulling them in - decide the two build scripts pnpm 12 asks about, both declined - exclude the lockfile from check-yaml: pnpm 12 writes it as two documents - hold @babel/core and typescript below the versions their toolchains reject * chore(deps): drop dependency policy entries that no longer apply Reviewed the hand-maintained dependency policy against the resolved tree. - correct the shell-quote advisory id, which had been mangled to `GHSA-wpn peer7jw-789q-3m8p`, to GHSA-w7jw-789q-3m8p - drop the two image-size advisories from ignoreGhsas and from ci.yml's allow-ghsas: the package is no longer in the tree, so both entries were waiving nothing. `just audit` now reports 1 ignored finding, not 3 - drop the dompurify@3.4.13 release-age exclusion, superseded by the override pinning 3.4.14 - restate why lightningcss is pinned: the NativeWind reason is gone with the Uniwind migration, but removing it resolves three copies side by side
renovate
Bot
force-pushed
the
renovate/major-repo-tooling
branch
from
September 7, 2026 06:04
b99481b to
faf234d
Compare
Contributor
|
Superseded by #192, which landed RNTL 14 along with the async-rendering migration it requires. |
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:
13.3.3→14.0.1Release Notes
callstack/react-native-testing-library (@testing-library/react-native)
v14.0.1Compare Source
🐛 Bug Fixes
selectionin TextInputchangeevent (#1919) (e819f77)📚 Documentation
New Contributors
Full Changelog: callstack/react-native-testing-library@v14.0.0...v14.0.1
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: (in timezone Europe/Amsterdam)
* 0-3 * * 1)🚦 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.