MCPcopy Create free account
hub / github.com/CopilotKit/aimock / stream-usage.test.ts

File stream-usage.test.ts

src/__tests__/stream-usage.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, afterEach } from "vitest";
2import http from "node:http";
3import { createServer, type ServerInstance } from "../server.js";
4import type { Fixture, SSEChunk } from "../types.js";

Callers

nothing calls this directly

Calls 7

resolveFunction · 0.85
createServerFunction · 0.85
parseAllSSEChunksFunction · 0.85
hasUsageChunkFunction · 0.85
getUsageChunkFunction · 0.85
httpPostFunction · 0.70
closeMethod · 0.65

Tested by

no test coverage detected