MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / threads.test.ts

File threads.test.ts

packages/core/src/__tests__/threads.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
2import type { Mock } from "vitest";
3import type { MockChannel } from "./test-utils";
4import { MockSocket } from "./test-utils";

Callers

nothing calls this directly

Calls 15

createEnvironmentFunction · 0.85
flushEffectsFunction · 0.85
resolveFirstFetchFunction · 0.85
getFetchCallFunction · 0.85
resolveDeleteFunction · 0.85
parseMethod · 0.80
unarchiveThreadMethod · 0.80
refetchThreadsMethod · 0.80
getServerStateMethod · 0.80
getChannelFunction · 0.70
stopMethod · 0.65
pushMethod · 0.65

Tested by

no test coverage detected