-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
support react's hydrate for enzyme-adapter-react-16 #1316
Comments
With an empty DOM node, won't |
Ya I think so, but this would be able to specifically test server side rendering of a component. cc @goatslacker |
Certainly I'm just not sure what the point would be - all we'd be doing is testing ReactDOM itself, since |
There's currently a warning when you try to |
In that case, maybe it'd be better to always use |
We should have both, for non server rendered content I think you want to use |
OK, talked to @goatslacker about this - how about a |
It would be great to support testing react's hydrate method as opposed to just the render method. This could maybe be done via an options argument?
cc @ljharb
The text was updated successfully, but these errors were encountered: