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

File workspaceService.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expect, test, mock, beforeEach, afterEach, spyOn, type Mock } from "bun:test";
2import { WorkspaceService, generateForkBranchName, generateForkTitle } from "./workspaceService";
3import type { IdleCompactionOutcome } from "./idleCompactionService";
4import type { AgentSession } from "./agentSession";

Callers

nothing calls this directly

Calls 15

createTestHistoryServiceFunction · 0.90
OkFunction · 0.90
waitForConditionFunction · 0.90
drainPendingDispatchesFunction · 0.90
ErrFunction · 0.90
createMuxMessageFunction · 0.90
enforceThinkingPolicyFunction · 0.90
generateForkBranchNameFunction · 0.90
generateForkTitleFunction · 0.90
onCanceledFunction · 0.85
createServicesFunction · 0.85
setWorkspaceGoalOkFunction · 0.85

Tested by

no test coverage detected