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:
parent
73913ef09f
commit
0b54cdc4e1
1 changed files with 3 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue