MCPcopy
hub / github.com/CopilotKit/CopilotKit / hooks.test.ts

File hooks.test.ts

packages/runtime/src/v2/runtime/__tests__/hooks.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi } from "vitest";
2import { createCopilotRuntimeHandler } from "../core/fetch-handler";
3import { CopilotRuntime } from "../core/runtime";
4import type { CopilotSseRuntimeOptions } from "../core/runtime";

Callers

nothing calls this directly

Calls 10

textMethod · 0.80
createRuntimeFunction · 0.70
getFunction · 0.70
postFunction · 0.70
pushMethod · 0.65
getMethod · 0.65
jsonMethod · 0.65
handlerFunction · 0.50
setMethod · 0.45

Tested by

no test coverage detected