Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ wait.ts
File
wait.ts
tests/utils/misc/wait.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{createConfig} from
'#src/setup/setup'
2
import
{wait} from
'#src/utils/misc/wait'
3
4
test(
'advances timers when set'
,
async
() => {
Callers
nothing calls this directly
Calls
6
createConfig
Function · 0.90
wait
Function · 0.90
now
Method · 0.80
useFakeTimers
Method · 0.80
advanceTimersByTime
Method · 0.80
useRealTimers
Method · 0.80
Tested by
no test coverage detected