MCPcopy
hub / github.com/coder/mux / agentSession.preStreamError.test.ts

File agentSession.preStreamError.test.ts

src/node/services/agentSession.preStreamError.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, mock, afterEach } from "bun:test";
2import { EventEmitter } from "events";
3import { PROVIDER_DISPLAY_NAMES } from "@/common/constants/providers";
4import type { AIService } from "@/node/services/aiService";

Callers

nothing calls this directly

Calls 15

ErrFunction · 0.90
createMuxMessageFunction · 0.90
createTestHistoryServiceFunction · 0.90
OkFunction · 0.90
resolveMethod · 0.80
appendToHistoryMethod · 0.80
replayHistoryMethod · 0.80
onChatEventMethod · 0.80

Tested by

no test coverage detected