-
Notifications
You must be signed in to change notification settings - Fork 47k
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 :Add a small test for ReactTestUtils to find rendered component with type in document #24368
Conversation
…h type in document
Comparing: 168da8d...ddc77ac Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
@gaearon could you. Review? |
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.
Seems good to me, surprised that we don't have a test like this already.
Also added some tests one month back to the react ART package too 😀 |
hey @rickhanlonii is it good to go , or there are some nits? |
@gaearon friendly ping :-) |
See #21309 |
@lunaruan could you review? |
hey @sebmarkbage could you review! |
hey @eps1lon seems like this can go forward as it's already been approved looking forward to your thoughts |
…with type in document (#24368) I tried to write test for the ReactTestUtils to find rendered component with type in document Tests before this PR ![Windows PowerShell 4_13_2022 11_35_24 PM](https://user-images.githubusercontent.com/72331432/163243620-40eb753c-4136-4793-a628-efcf9e004562.png) Tests after this PR ![Windows PowerShell 4_13_2022 11_35_30 PM](https://user-images.githubusercontent.com/72331432/163244704-cd17f0e3-7289-4794-895a-be03753e46de.png) DiffTrain build for [4fcc918](4fcc918) [View git log for this commit](https://github.com/facebook/react/commits/4fcc9184ac2662186cbf1470005bf2b7c67dd40b)
I tried to write test for the ReactTestUtils to find rendered component with type in document
Tests before this PR
Tests after this PR