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

Function createEnvironment

packages/core/src/__tests__/threads.test.ts:62–66  ·  view source on GitHub ↗
(fetchImpl: Mock)

Source from the content-addressed store, hash-verified

60];
61
62function createEnvironment(fetchImpl: Mock) {
63 return {
64 fetch: fetchImpl as unknown as typeof fetch,
65 };
66}
67
68function getChannel(): MockChannel {
69 const channel = phoenix.sockets[0]?.channels[0];

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…