Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/streamich/react-use
/ useRaf.test.ts
File
useRaf.test.ts
tests/useRaf.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ act, renderHook } from
'@testing-library/react-hooks'
;
2
import
{ replaceRaf } from
'raf-stub'
;
3
import
useRaf from
'../src/useRaf'
;
4
Callers
nothing calls this directly
Calls
3
useRaf
Function · 0.85
reset
Method · 0.65
step
Method · 0.65
Tested by
no test coverage detected