Skip to content

[infra] Remove explicit @testing-library/react dependency#13478

Merged
LukasTy merged 1 commit intomui:masterfrom
LukasTy:remove-explicit-rtl-dependency
Jun 14, 2024
Merged

[infra] Remove explicit @testing-library/react dependency#13478
LukasTy merged 1 commit intomui:masterfrom
LukasTy:remove-explicit-rtl-dependency

Conversation

@LukasTy
Copy link
Copy Markdown
Member

@LukasTy LukasTy commented Jun 14, 2024

Based on #13463 (comment)

We are not using this dependency directly and it is even disallowed:

paths: ['@testing-library/react', 'test/utils/index'],

This dependency is now coming from: https://github.com/mui/material-ui/blob/58831f0a1861337a7dddffe522cf3edbbeaf00d9/packages-internal/test-utils/package.json#L42

This will remove the need to separately control the dependency version and possibly introduce a discrepancy between expected package versions: #13429

@LukasTy LukasTy added dependencies Update of dependencies. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). labels Jun 14, 2024
@LukasTy LukasTy self-assigned this Jun 14, 2024
@mui-bot
Copy link
Copy Markdown

mui-bot commented Jun 14, 2024

Deploy preview: https://deploy-preview-13478--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against e594938

@LukasTy LukasTy requested review from a team June 14, 2024 08:14
Copy link
Copy Markdown
Member

@michaldudak michaldudak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update of dependencies. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants