History

test(mcp): type archived workspace fixtures

Julius Marminge committed 2 months ago

Commit f1bb3181 parent 96d40cf1 file · +2 −2Browse files

Unified · Split

apps/server/src/mcp/WorktreeMcpService.test.ts+2−2
@@ -269,7 +269,7 @@ const makeHarness = (options: HarnessOptions = {}) => { · 268 unmodified lines
269269 status: item.active === true ? "running" : "idle",
270270 activeRunId: item.active === true ? "run-active" : null,
271271 lineage: { relationshipToParent: "none" },
272− }) as OrchestrationV2ThreadShell,
272+ }) as unknown as OrchestrationV2ThreadShell,
273273 );
274274 const archivedThreadShells =
275275 options.archivedProjectThread === undefined
@@ -286,7 +286,7 @@ const makeHarness = (options: HarnessOptions = {}) => { · 10 unmodified lines
286286 archivedAt: "2026-01-02T00:00:00.000Z",
287287 lineage: { relationshipToParent: "none" },
288288 },
289− ] as ReadonlyArray<OrchestrationV2ThreadShell>);
289+ ] as unknown as ReadonlyArray<OrchestrationV2ThreadShell>);
290290 const listProjectThreads = vi.fn(() => Effect.succeed(projectThreadShells));
291291 const getShellSnapshot = vi.fn(() =>
292292 Effect.succeed({