MCPcopy
hub / github.com/coder/mux / makeProjectsConfig

Function makeProjectsConfig

src/node/services/agentStatusService.test.ts:81–87  ·  view source on GitHub ↗
(workspaces: Workspace[])

Source from the content-addressed store, hash-verified

79 }
80
81 function makeProjectsConfig(workspaces: Workspace[]): ProjectsConfig {
82 return {
83 projects: new Map<string, ProjectConfig>([
84 [projectPath, { workspaces } as unknown as ProjectConfig],
85 ]),
86 };
87 }
88
89 // Bypass the scheduler timers so each test step is deterministic.
90 function createService(options?: { clock?: () => number }): AgentStatusService {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected