(initialValue?: number, max: number | null = null, min: number | null = null)
| 2 | import useCounter from '../src/useCounter'; |
| 3 | |
| 4 | const setUp = (initialValue?: number, max: number | null = null, min: number | null = null) => |
| 5 | renderHook(() => useCounter(initialValue, max, min)); |
| 6 | |
| 7 | it('should init counter and utils', () => { |
| 8 | const { result } = setUp(5); |
no test coverage detected
searching dependent graphs…