()
| 85 | |
| 86 | const spy = jest.fn() |
| 87 | function Component() { |
| 88 | spy() |
| 89 | return null |
| 90 | } |
| 91 | |
| 92 | const {rerender} = render(<Component />) |
| 93 | expect(spy).toHaveBeenCalledTimes(2) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…