MCPcopy
hub / github.com/CopilotKit/CopilotKit / fetch-handler.test.ts

File fetch-handler.test.ts

packages/runtime/src/v2/runtime/__tests__/fetch-handler.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 { AbstractAgent } from "@ag-ui/client";

Callers

nothing calls this directly

Calls 8

createRuntimeFunction · 0.70
getFunction · 0.70
postFunction · 0.70
createMockAgentFunction · 0.70
jsonMethod · 0.65
getMethod · 0.65
handlerFunction · 0.50

Tested by

no test coverage detected