Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @testing-library/react-native to v13 #7275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react-native (source) 12.6.1 -> 13.0.0 age adoption passing confidence

Release Notes

callstack/react-native-testing-library (@​testing-library/react-native)

v13.0.0

Compare Source

Migration guide

Important Changes
  • Enabled concurrent rendering by default
  • 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

v12.9.0

Compare Source

This version officially supports React Native 0.77 & Expo 52.

✨ Features
📚 Documentation

v12.8.1

Compare Source

🐛 Bug Fixes

v12.8.0

Compare Source

✨ Features
📚 Documentation

v12.7.2: (2024-09-12)

Compare Source

What's Changed

Features
Bug 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
Other

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
Other

New Contributors

Full Changelog: callstack/react-native-testing-library@v12.6.1...v12.7.0


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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from drewvolz, hawkrives and rye as code owners January 6, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants