0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00
deno/cli/tests
Nayeem Rahman 12f6ad32c2
fix(lsp): properly handle disabled configuration requests (#20358)
Fixes #19802.

Properly respect when clients do not have the `workspace/configuration`
capability, a.k.a. when an editor cannot provide scoped settings on
request from the LSP.

- Fix one spot where we weren't checking for the capability before
sending this request.
- For `enablePaths`, fall back to the settings passed in the
initialization options in more cases.
- Respect the `workspace/configuration` capability in the test harness
client.

See:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_configuration.
2023-09-02 16:36:04 +01:00
..
integration fix(lsp): properly handle disabled configuration requests (#20358) 2023-09-02 16:36:04 +01:00
node_compat fix(node/http): correctly send Content-length header instead of Transfer-Encoding: chunked (#20127) 2023-08-28 09:32:54 +02:00
testdata fix(runtime/permissions): Resolve executable specifiers in allowlists and queries (#14130) 2023-08-30 18:52:01 +01:00
unit fix(ext/kv): don't panic if listening on queues and KV is not closed (#20317) 2023-08-29 11:24:44 -07:00
unit_node fix(node/http): don't leak resources on destroyed request (#20040) 2023-08-29 12:13:58 +00:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00