-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
make test in react-test-renderer painless #1121
Conversation
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.
@nihgwu Can you add a test that uses 'react-test-renderer' to render Grid
?
Looks good!
Done, without this change, the tests will fail |
BTW, can we release a new version? that breaks all my test cases, now I have to use a wrapper to apply the mock option, also I don't think that's the desired solution, as that would make people thought I was using refs in |
Thanks for contributing @nihgwu ! |
this is released in 9.20.0! |
a work around is to use |
@wuweiweiwu Excellent! This is really appreciated. |
ref #1117