From 0b54cdc4e1794743a5d60ec3d5a560f1cfbd12a0 Mon Sep 17 00:00:00 2001 From: cliffhall Date: Sun, 16 Aug 2026 18:25:49 -0400 Subject: [PATCH] test(web): use the object shape for the legacy tasks capability `ServerTasksCapability`'s `list`/`cancel` are objects, not booleans, so the legacy-tasks fixture failed `tsc -b` in CI. A stale incremental build cache hid it locally. Signed-off-by: cliffhall --- .../ConnectionInfoContent/ConnectionInfoContent.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clients/web/src/components/groups/ConnectionInfoContent/ConnectionInfoContent.test.tsx b/clients/web/src/components/groups/ConnectionInfoContent/ConnectionInfoContent.test.tsx index db49986b..0ebb740f 100644 --- a/clients/web/src/components/groups/ConnectionInfoContent/ConnectionInfoContent.test.tsx +++ b/clients/web/src/components/groups/ConnectionInfoContent/ConnectionInfoContent.test.tsx @@ -254,7 +254,9 @@ describe("ConnectionInfoContent", () => { ...fullResult, capabilities: { ...fullResult.capabilities, - tasks: { list: true, cancel: true }, + // `ServerTasksCapability`'s sub-capabilities are objects, not + // booleans — `{}` is the "supported, no sub-options" shape. + tasks: { list: {}, cancel: {} }, }, }} clientCapabilities={fullClientCaps}