Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/testing-library/user-event
/ wait
Function
wait
src/utils/misc/wait.ts:1–3 ·
view source on GitHub ↗
(time?: number)
Source
from the content-addressed store, hash-verified
1
export
function
wait(time?: number) {
2
return
new
Promise<void>(resolve => setTimeout(() => resolve(), time))
3
}
Callers
2
type.js
File · 0.90
keyboardImplementation
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected