({ next }: { next: () => void })
| 1039 | const onSwipedSpy = jest.fn(); |
| 1040 | |
| 1041 | function TestHookComponent({ next }: { next: () => void }) { |
| 1042 | const handlers = useSwipeable({ onSwiped: next }); |
| 1043 | return <div {...handlers}>{TESTING_TEXT}</div>; |
| 1044 | } |
| 1045 | |
| 1046 | function TestComponent() { |
| 1047 | const [page, setPage] = React.useState(0); |
nothing calls this directly
no test coverage detected
searching dependent graphs…