(error, errorInfo)
| 123 | expect(() => { |
| 124 | renderHook(useThrower, { |
| 125 | onUncaughtError(error, errorInfo) { |
| 126 | console.log({error, errorInfo}) |
| 127 | }, |
| 128 | }) |
| 129 | }).toThrow( |
| 130 | 'onUncaughtError is not supported. The `render` call will already throw on uncaught errors.', |
no outgoing calls
no test coverage detected
searching dependent graphs…