You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But still they're failing (it's rendering the shallow wrapper directly, instead of the serialized result), while tests that aren't using enzyme pass. I was wondering if there is anything that needs to be changed when using this library with jest 20.
The text was updated successfully, but these errors were encountered:
Using ReactShallowRenderer seems to fix it though. So I'm not sure what's going on here. Seems to me that it's the serialization, but I could be wrong.
When upgrading to jest 20 the snapshot tests I'm running with shallow rendering fail because the results aren't being serialized anymore:
According to the jest docs and blog there shouldn't be any breaking changes that affect this:
But still they're failing (it's rendering the shallow wrapper directly, instead of the serialized result), while tests that aren't using enzyme pass. I was wondering if there is anything that needs to be changed when using this library with jest 20.
The text was updated successfully, but these errors were encountered: