Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/streamich/react-use
/ useGetSet.test.ts
File
useGetSet.test.ts
tests/useGetSet.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
useGetSet from
'../src/useGetSet'
;
3
4
const
setUp = (initialValue: any) => renderHook(() => useGetSet(initialValue));
Callers
nothing calls this directly
Calls
4
get
Function · 0.85
setUp
Function · 0.70
set
Function · 0.70
onClick
Function · 0.50
Tested by
no test coverage detected