You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatically extend Jest matchers, you no longer need to import @testing-library/react-native/extend-expect. Importing @testing-library/react-native will be enough.
Removed host component name auto-detection. Your tests should run faster.
Removed
*ByA11yState queries have been removed use *ByRole queries or toHaveAccessibilityState matcher instead
*ByA11yValue queries have been removed use *ByRole queries or toHaveAccessibleValue matcher instead
Removed support for React 16 & 17. Supports React 18 and 19.
Removed debug.shallow method
Removed @testing-library/react-native Jest preset (useful for React 17). Just use regular react-native Jest preset.
Other changes (should have no visible effects):
new implementation of flushMicrotaskQueue
slightly different way to calculate a11y labels
uses React's implementation of act instead of React Test Renderer's
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
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:
4.0.13→5.4.37.2.0→13.3.327.5.2→30.0.026.6.2→30.3.026.5.6→29.4.9Release Notes
testing-library/jest-native (@testing-library/jest-native)
v5.4.3Compare Source
v5.4.2Compare Source
Bug Fixes
v5.4.1Compare Source
Bug Fixes
v5.4.0Compare Source
Features
v5.3.4Compare Source
Bug Fixes
v5.3.3Compare Source
Bug Fixes
v5.3.2Compare Source
Bug Fixes
v5.3.1Compare Source
Bug Fixes
v5.3.0Compare Source
Features
v5.2.0Compare Source
Features
v5.1.2Compare Source
Bug Fixes
v5.1.1Compare Source
Bug Fixes
v5.1.0Compare Source
Features
v5.0.0Compare Source
Breaking Changes
toBeEnabled()behave the same asnot.toBeDisabled()also in #101 by @mdjastrzebskiFull Changelog: testing-library/jest-native@v4.0.13...v5.0.0
callstack/react-native-testing-library (@testing-library/react-native)
v13.3.3Compare Source
🐛 Bug Fixes
cleanupAsync(#1817) (c419a70)toHaveStyles(#1819) (9d89ea9)v13.3.2Compare Source
🐛 Bug Fixes
New Contributors
v13.3.1Compare Source
🐛 Bug Fixes
v13.3.0Compare Source
✨ Features
renderAsync) (#1788) (79d230a)renderHookAsync(#1805) (196680b)📚 Documentation
v13.2.2Compare Source
🐛 Bug Fixes
v13.2.1Compare Source
✨ Features
🐛 Bug Fixes
pointerEventsin both props and styles (#1799) (cc1e249)📚 Documentation
v13.2.0Compare Source
✨ Features
react-test-rendererversion (#1755) (2e5238a)v13.1.1Compare Source
🐛 Bug Fixes
v13.1.0Compare Source
✨ Features
testOnlyevents (#1741) (c47220b)📚 Documentation
v13.0.1Compare Source
🐛 Bug Fixes
concurrentRootoption in render hook (#1734) (9efe13e)📚 Documentation
v13.0.0Compare Source
Migration guide
Important Changes
@testing-library/react-native/extend-expect. Importing@testing-library/react-nativewill be enough.Removed
*ByA11yStatequeries have been removed use*ByRolequeries ortoHaveAccessibilityStatematcher instead*ByA11yValuequeries have been removed use*ByRolequeries ortoHaveAccessibleValuematcher insteaddebug.shallowmethod@testing-library/react-nativeJest preset (useful for React 17). Just use regularreact-nativeJest preset.Other changes (should have no visible effects):
flushMicrotaskQueueactinstead of React Test Renderer'sv12.9.0Compare Source
This version officially supports React Native 0.77 & Expo 52.
✨ Features
type(): addskipBluroption (#1704) (1973cbc)📚 Documentation
v12.8.1Compare Source
🐛 Bug Fixes
pressevents' order (#1696) (5de8790)v12.8.0Compare Source
✨ Features
📚 Documentation
v12.7.2: (2024-09-12)Compare Source
What's Changed
Features
Imagewithaltprop as label by @mdjastrzebski in #1665Bug Fixes
Other
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.6.1...v12.7.1
v12.7.1: (2024-09-12)Compare Source
What's Changed
Features
Imagewithaltprop as label by @mdjastrzebski in #1665Other
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.6.1...v12.7.1
v12.7.0: (2024-09-12)Compare Source
What's Changed
Features
Imagewithaltprop as label by @mdjastrzebski in #1665Other
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.6.1...v12.7.0
v12.6.1: (2024-08-28)Compare Source
What's Changed
Full Changelog: callstack/react-native-testing-library@v12.6.0...v12.6.1
v12.6.0: (2024-08-16)Compare Source
What's changed
Features
type()events to match RN 0.75 (remove 'textInput' event) (#1645) (f0df299)paste()interaction (#1646) (38bceed)v12.5.3: (2024-08-09)Compare Source
What's Changed
experiments-rtlapp by @mdjastrzebski in #1642New Contributors
Full Changelog: callstack/react-native-testing-library@v12.5.2...v12.5.3
v12.5.2Compare Source
Bug Fixes
v12.5.1Compare Source
Bug Fixes
v12.5.0Compare Source
Features
*ByRoleTypeScript hints by @mdjastrzebski in #1596Bug Fixes
actusage by @mdjastrzebski in #1592New Contributors
v12.4.5Compare Source
RNTL 12.4.5 (2024-03-28)
Bugfixes
findBy*timeout with detached screen by @mdjastrzebski in #1576Other
Full Changelog: callstack/react-native-testing-library@v12.4.4...v12.4.5
v12.4.4Compare Source
RNTL 12.4.4 (2024-03-18)
Bug Fixes
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.4.3...v12.4.4
v12.4.3Compare Source
Other
Full Changelog: callstack/react-native-testing-library@v12.4.2...v12.4.3
v12.4.2Compare Source
What's Changed
Improvements
contentSizeandlayoutMeasurementwhen callingscrollToby @j-piasecki in #1543Other
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.4.1...v12.4.2
v12.4.1Compare Source
What's Changed
New things
Fixes
Other
Full Changelog: callstack/react-native-testing-library@v12.4.0...v12.4.1
v12.4.0Compare Source
What's Changed
Features
Contributors for this feature 👏👏👏
toHaveTextContentmatcher #1461 by @mdjastrzebskitoBeEmptyElementmatcher #1462 by @kyawthura-ggtoHaveDisplayValuematcher #1463 by @jaworek & @mdjastrzebskitoBeVisiblematcher #1465 by @thiagobreztoBeEnabled&toBeDisabledmatchers #1469 by @jaworektoHavePropmatcher #1477 by @AntoineThibitoBeChecked&toBePartiallyCheckedmatchers #1479 by @kyawthura-ggtoHaveStylematcher #1487 by @marcinkornektoBeSelectedmatcher #1488 by @AntoineThibitoBeBusymatcher #1493 by @hduprattoContainElementmatcher #1495 by @siepratoHaveAccessibilityValuematcher #1496 by @tarunrajputtoBeExpanded&toBeCollapsedmatchers #1497 by @siepratoHaveAccessibleNamematcher #1509 by @anishamaldeFull Changelog: callstack/react-native-testing-library@v12.3.3...v12.4.0
v12.3.3Compare Source
What's Changed
Features:
Fixes
Other improvements & chores
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.3.2...v12.3.3
v12.3.2Compare Source
What's Changed
Improvements:
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.3.1...v12.3.2
v12.3.1Compare Source
What's Changed
Features
scrollBy@siepra in #1445Fixes
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.3.0...v12.3.1
v12.3.0Compare Source
Features
ARIA props (
role&aria-*) support:roleprop by @mdjastrzebski in #1476aria-labelandaria-labelledbyprops by @mdjastrzebski in #1475aria-*state props by @mdjastrzebski in #1478aria-modalsupport by @mdjastrzebski in #1481aria-value*props support by @mdjastrzebski in #1480Jest Native matcher migration to RNTL (work in progress):
toBeEmptyElementmatcher by @kyawthura-gg in #1462toHaveDisplayValuematcher by @mdjastrzebski in #1463toHaveTextContent()matcher by @mdjastrzebski in #1461toBeVisiblematcher by @thiagobrez in #1465toBeDisabledmatcher by @jaworek in #1469toHavePropmatcher by @AntoineThibi in #1477toBeChecked&toBePartiallyCheckedmatcher by @kyawthura-gg in #1479Note: Jest matchers are work in progress and haven't yet been officially released. You can track progress of this initiative in #1468.
New Contributors
Full Changelog: callstack/react-native-testing-library@v12.2.2...v12.3.0
v12.2.2Compare Source
What's Changed
Fixes
Full Changelog: callstack/react-native-testing-library@v12.2.1...v12.2.2
v12.2.1Compare Source
What's Changed
Improvements
clear()for clearing content of TextInputs by @mdjastrzebski in #1440Under the hood
Full Changelog: callstack/react-native-testing-library@v12.2.0...v12.2.1
v12.2.0Compare Source
What's Changed
Features
press(),type()- #1386, #1396, #1410 by @pierrezimmermannbam and @mdjastrzebskiFull Changelog: callstack/react-native-testing-library@v12.1.3...v12.2.0
v12.1.3Compare Source
Fixes
Improvements
Refactors, Docs, Chores, etc
New Contributors 👏
Full Changelog: callstack/react-native-testing-library@v12.1.2...v12.1.3
v12.1.2Compare Source
What's Changed
Fixes
Configuration
📅 Schedule: (in timezone Etc/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.