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

Function makeWorkspaceEntry

src/node/services/agentStatusService.test.ts:72–79  ·  view source on GitHub ↗
(overrides: Partial<Workspace> = {})

Source from the content-addressed store, hash-verified

70 >;
71
72 function makeWorkspaceEntry(overrides: Partial<Workspace> = {}): Workspace {
73 return {
74 id: workspaceId,
75 name: workspaceId,
76 path: "/test/path",
77 ...overrides,
78 } as unknown as Workspace;
79 }
80
81 function makeProjectsConfig(workspaces: Workspace[]): ProjectsConfig {
82 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected