MCPcopy
hub / github.com/coder/mux / historyService.test.ts

File historyService.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach, afterEach } from "bun:test";
2import { CONTEXT_BOUNDARY_KINDS } from "@/common/constants/contextBoundary";
3import { HistoryService } from "./historyService";
4import { Config } from "@/node/config";

Callers

nothing calls this directly

Calls 15

createMuxMessageFunction · 0.90
writeHistoryLinesFunction · 0.85
messageLineFunction · 0.85
writeChatWithBoundaryFunction · 0.85
appendNumberedMessagesFunction · 0.85
boundaryMessageFunction · 0.85
readJsonlFileFunction · 0.85
chatPathFunction · 0.85
archivePathFunction · 0.85
appendToHistoryMethod · 0.80
updateHistoryMethod · 0.80
truncateAfterMessageMethod · 0.80

Tested by

no test coverage detected