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

Function getChannel

packages/core/src/__tests__/threads.test.ts:68–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68function getChannel(): MockChannel {
69 const channel = phoenix.sockets[0]?.channels[0];
70 if (!channel) {
71 throw new Error("expected a phoenix channel to exist");
72 }
73 return channel;
74}
75
76function getFetchCall(fetchMock: Mock, index: number) {
77 const call = fetchMock.mock.calls[index];

Callers 1

threads.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…