MCPcopy Index your code
hub / github.com/github/copilot-sdk / createPayload

Function createPayload

nodejs/test/toolSet.test.ts:238–240  ·  view source on GitHub ↗
(spy: ReturnType<typeof vi.spyOn>)

Source from the content-addressed store, hash-verified

236 }
237
238 function createPayload(spy: ReturnType<typeof vi.spyOn>) {
239 return (spy as any).mock.calls.find(([m]: [string]) => m === "session.create")![1] as any;
240 }
241
242 function patchCall(spy: ReturnType<typeof vi.spyOn>) {
243 return (spy as any).mock.calls.find(

Callers 1

toolSet.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…