Skip to content

Move testing libraries into devDeps rather than peerDeps for base package#4029

Open
walshie4 wants to merge 1 commit intoreact-native-elements:nextfrom
walshie4:remove-jest-peer-dep
Open

Move testing libraries into devDeps rather than peerDeps for base package#4029
walshie4 wants to merge 1 commit intoreact-native-elements:nextfrom
walshie4:remove-jest-peer-dep

Conversation

@walshie4
Copy link
Copy Markdown

@walshie4 walshie4 commented Apr 8, 2026

Motivation

Fixes #4022

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Not really relevant as it is simply removing a peer dependency that should never have been there.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation using yarn docs-build-api
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Additional context

See the linked issue

@Tiuipuv
Copy link
Copy Markdown

Tiuipuv commented Apr 8, 2026

Hope this gains traction! Looking forward to the merge so we can remove --legacy-peer-deps from our pipelines.

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.

@testing-library/jest-native + @testing-library/react-native in peerDependencies (v5)

2 participants