-
Notifications
You must be signed in to change notification settings - Fork 46.8k
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
Refactor ShallowRenderer #7739
Refactor ShallowRenderer #7739
Conversation
This fails Flow: https://travis-ci.org/facebook/react/jobs/160155787 |
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.
Please fix Flow
OK, let’s wait for that to land and then try this again. Thanks! |
9c85f80
to
1dc53a1
Compare
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.
LGTM
Thanks! |
1 similar comment
Thanks! |
* Separate ReactShallowRenderer from TestUtils * Use ES classes to ReactShallowRenderer (cherry picked from commit 85b0377)
* Separate ReactShallowRenderer from TestUtils * Use ES classes to ReactShallowRenderer
I've refactored ReactShallowRenderer for readability, which is not changing the behavior.
If this was merged, I'll add type annotations with Flow.