Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/primer/react
/ useSafeTimeout.test.tsx
File
useSafeTimeout.test.tsx
packages/react/src/__tests__/useSafeTimeout.test.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import {renderHook} from
'@testing-library/react-hooks'
2
import useSafeTimeout from
'../hooks/useSafeTimeout'
3
4
afterEach(() => {
Callers
nothing calls this directly
Calls
1
useSafeTimeout
Function · 0.85
Tested by
no test coverage detected