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

Function patchCall

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

Source from the content-addressed store, hash-verified

240 }
241
242 function patchCall(spy: ReturnType<typeof vi.spyOn>) {
243 return (spy as any).mock.calls.find(
244 ([m]: [string]) => m === "session.options.update"
245 )![1] as any;
246 }
247
248 it("forces enableSessionTelemetry=false when app didn't opt in", async () => {
249 const { client, spy } = await setupClient();

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…