(shouldThrow?: boolean)
| 10 | runForRenderers(['default', 'dom', 'native', 'server/hydrated'], ({ renderHook }) => { |
| 11 | describe('synchronous', () => { |
| 12 | function useError(shouldThrow?: boolean) { |
| 13 | throwError(shouldThrow) |
| 14 | return true |
| 15 | } |
| 16 | |
| 17 | test('should raise error', () => { |
| 18 | const { result } = renderHook(() => useError(true)) |
no test coverage detected
searching dependent graphs…