Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/testing-library/react-hooks-testing-library
/ asyncHook.test.ts
File
asyncHook.test.ts
src/__tests__/asyncHook.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ useState, useRef, useEffect } from
'react'
2
3
describe(
'async hook tests'
, () => {
4
const
useSequence = (values: string[], intervalMs = 50) => {
Callers
nothing calls this directly
Calls
5
useSequence
Function · 0.85
waitForNextUpdate
Function · 0.85
waitFor
Function · 0.85
waitForValueToChange
Function · 0.85
renderHook
Function · 0.50
Tested by
no test coverage detected