()
| 14 | jest.spyOn(console, "error").mockImplementation(() => {}); |
| 15 | const errorSpy = jest.fn(); |
| 16 | const MyFormConsumer = () => { |
| 17 | useForm(); |
| 18 | return <div />; |
| 19 | }; |
| 20 | render( |
| 21 | <ErrorBoundary spy={errorSpy}> |
| 22 | <MyFormConsumer /> |
nothing calls this directly
no test coverage detected
searching dependent graphs…