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
Just for a note: most likely connect from react-redux doesn't work properly with shallow.dive because of this issue.
Some minimal repro: https://codesandbox.io/s/old-currying-4lme5 (which seems to be similar to the skipped test above)
This issue is for closing #2011 and tracking the skipped shallow test.
Current behavior
See skipped shallow test in https://github.com/airbnb/enzyme/blob/master/packages/enzyme-test-suite/test/shared/hooks/useContext.jsx#L50-L54 . After
.dive()
call in the internal component the context value is stillinitialTitle
in.shallow()
, not the value from outer<Provider />
.Expected behavior
In that test the text value should be as same as value from outer
<Provider />
.Your environment
API
Version
Adapter
The text was updated successfully, but these errors were encountered: