(state: number, action: { type: string })
| 4 | runForRenderers(['default', 'dom', 'native', 'server/hydrated'], ({ renderHook, act }) => { |
| 5 | test('should handle useReducer hook', () => { |
| 6 | const reducer = (state: number, action: { type: string }) => |
| 7 | action.type === 'inc' ? state + 1 : state |
| 8 | const { result } = renderHook(() => useReducer(reducer, 0)) |
| 9 | |
| 10 | const [initialState, dispatch] = result.current |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…