Cassey Lottman
Cassey Lottman
I spent a long time trying a bunch of things because [the docs for shallow]( https://enzymejs.github.io/enzyme/docs/api/shallow.html ) made it sound like `wrappingComponent` would work. [CodeSandbox of my attempts](https://codesandbox.io/s/priceless-driscoll-j45bv) The docs...
@ljharb yes, you know that from looking at React internals, and I know that because you've said it in this issue. But the [React docs for useContext](https://reactjs.org/docs/hooks-reference.html#usecontext) don't imply that...
A coworker pointed out the code example in [the docs on getWrappingComponent](https://enzymejs.github.io/enzyme/docs/api/ShallowWrapper/getWrappingComponent.html) also doesn't work now, since it uses react-redux, which now also uses `useContext` under the hood. I added...
I could update the docs to remove the incorrect example and add caveats about `useContext`, but I fear that would be rather incomplete - I haven't figured out what the...
I'm having the same issue.
I also had this issue and can confirm that passing the labelInterpolationFnc solved it. Thanks for the fix @MartinMuzatko