()
| 19 | jest.spyOn(console, "error").mockImplementation(() => {}); |
| 20 | const errorSpy = jest.fn(); |
| 21 | const MyFieldComponent = () => { |
| 22 | useField("name"); |
| 23 | return <div />; |
| 24 | }; |
| 25 | render( |
| 26 | <ErrorBoundary spy={errorSpy}> |
| 27 | <MyFieldComponent /> |
nothing calls this directly
no test coverage detected
searching dependent graphs…