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

chore(mobile-react-native): update dependency @testing-library/react-native to v13 #22241

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 3, 2025

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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.
  • remove host component name auto-detection. Test 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

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.

Copy link

sonarqubecloud bot commented Jan 3, 2025

@mergify mergify bot merged commit 5a1f19c into main Jan 3, 2025
185 checks passed
@mergify mergify bot deleted the renovate/mobile-react-native-major-testing-library-monorepo branch January 3, 2025 12:55
Copy link

github-actions bot commented Jan 6, 2025

🎉 This PR is included in version 1.132.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants