MCPcopy 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

1export function wait(time?: number) {
2 return new Promise<void>(resolve => setTimeout(() => resolve(), time))
3}

Callers 2

type.jsFile · 0.90
keyboardImplementationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected