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

Function getOutput

packages/runtime-core/__tests__/helpers/useId.spec.ts:35–40  ·  view source on GitHub ↗
(factory: TestCaseFactory)

Source from the content-addressed store, hash-verified

33}
34
35async function getOutput(factory: TestCaseFactory) {
36 const clientResult = await runOnClient(factory)
37 const serverResult = await runOnServer(factory)
38 expect(serverResult).toBe(clientResult)
39 return clientResult
40}
41
42function promiseWithDelay(res: any, delay: number) {
43 return new Promise<any>(r => {

Callers 1

useId.spec.tsFile · 0.85

Calls 2

runOnClientFunction · 0.85
runOnServerFunction · 0.85

Tested by

no test coverage detected