MCPcopy
hub / github.com/vuejs/core / timeout

Function timeout

packages/vue-compat/__tests__/componentAsync.spec.ts:21–21  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

19})
20
21const timeout = (n: number) => new Promise(r => setTimeout(r, n))
22
23describe('COMPONENT_ASYNC', () => {
24 test('resolve/reject', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected