MCPcopy Create free account
hub / github.com/StarpTech/FastGraph / f

Function f

src/test-utils.ts:78–78  ·  view source on GitHub ↗
(...y: any[])

Source from the content-addressed store, hash-verified

76export const Mock = (x?: any) => {
77 let args: any[],
78 f = (...y: any[]) => ((args = y), Promise.resolve(x))
79 // @ts-ignore
80 return (f.args = () => args), f
81}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected