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