-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[test] Migrate more components to react-testing-library #22874
[test] Migrate more components to react-testing-library #22874
Conversation
No bundle size changes comparing 4824c9e...e77b20e |
I don't know how to test these cases in Since we can't check which children type was rendered using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding the test of the implementation
prop, we could either drop the assertion or test the DOM structure. CSS requires a wrapping <div>
element which JS doesn't.
Co-authored-by: Olivier Tassinari <[email protected]>
…son/material-ui into migrate-to-testing-library
Replaces enzyme for react-testing-library in the
<HiddenJs/>
and<HiddenCss/>
#22911