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 <cliff@futurescale.com>
This commit is contained in:
cliffhall 2026-08-16 18:25:49 -04:00
commit 0b54cdc4e1

View file

@ -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}