Dominic Fraser
1 min readAug 14, 2018

--

Nice spot Alessandro Giordo! I’ve added it in now so the example is consistent with the one further up.

My first thought would be that I would test the child component directly, and be passing in a mocked function as a prop in that child test. Best of luck!

--

--

Dominic Fraser
Dominic Fraser

Responses (1)