MCPcopy Index your code
hub / github.com/streamich/react-use / useAsync.test.tsx

File useAsync.test.tsx

tests/useAsync.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook } from '@testing-library/react-hooks';
2import { useCallback } from 'react';
3import useAsync from '../src/useAsync';
4

Callers

nothing calls this directly

Calls 2

useAsyncFunction · 0.85
fnFunction · 0.85

Tested by

no test coverage detected