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(deps): update @testing-library/react-native to v13 #237

Merged
merged 2 commits into from
Jan 15, 2025

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.1 age adoption passing confidence

Release Notes

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

v13.0.1

Compare Source

🐛 Bug Fixes
📚 Documentation

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

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

changeset-bot bot commented Jan 3, 2025

⚠️ No Changeset found

Latest commit: 76cb2d1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/major-testing-library-monorepo branch from 2695c25 to 1488bb1 Compare January 14, 2025 21:22
@wKovacs64 wKovacs64 merged commit a9e6ce3 into main Jan 15, 2025
7 checks passed
@wKovacs64 wKovacs64 deleted the renovate/major-testing-library-monorepo branch January 15, 2025 05:16
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.

1 participant