357 Views
First and foremost, let's just scratch the surface a little bit and try to understand what happens behind the scenes. Whenever a component - that is expected to be tested - is wrapped with a HOC, there isn't any way to access that with a simple shallow rendering - I hear the folks saying you can use mount rendering, but this might cause unexpected behaviors due to the rendering of the whole tree.
0 comments