MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / getFetchCall

Function getFetchCall

packages/core/src/__tests__/threads.test.ts:76–82  ·  view source on GitHub ↗
(fetchMock: Mock, index: number)

Source from the content-addressed store, hash-verified

74}
75
76function getFetchCall(fetchMock: Mock, index: number) {
77 const call = fetchMock.mock.calls[index];
78 if (!call) {
79 throw new Error(`expected fetch call at index ${index}`);
80 }
81 return call;
82}
83
84describe("thread store", () => {
85 const stores: Array<ReturnType<typeof ɵcreateThreadStore>> = [];

Callers 1

threads.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…