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

File useRafLoop.test.tsx

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

Source from the content-addressed store, hash-verified

1import { renderHook } from '@testing-library/react-hooks';
2import { replaceRaf } from 'raf-stub';
3import useRafLoop from '../src/useRafLoop';
4

Callers

nothing calls this directly

Calls 3

useRafLoopFunction · 0.85
resetMethod · 0.65
stepMethod · 0.65

Tested by

no test coverage detected