summaryrefslogtreecommitdiff
path: root/cli/tests/lsp
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-05-21 07:35:37 +1000
committerBert Belder <bertbelder@gmail.com>2021-05-31 16:37:32 +0200
commit25b784f00d40e20714709bf61e09046d4b9c8fd8 (patch)
tree8f4c99f90dbb8e30085e3aa1b26692270a7fe163 /cli/tests/lsp
parent47ec33eca7b71b7f53c826dc97f37da4d4700499 (diff)
chore(lsp): provide test for lsp deadlock issue (#10679)
Resolves: #10587
Diffstat (limited to 'cli/tests/lsp')
-rw-r--r--cli/tests/lsp/code_action_params_deadlock.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/cli/tests/lsp/code_action_params_deadlock.json b/cli/tests/lsp/code_action_params_deadlock.json
new file mode 100644
index 000000000..be0e317e1
--- /dev/null
+++ b/cli/tests/lsp/code_action_params_deadlock.json
@@ -0,0 +1,38 @@
+{
+ "textDocument": {
+ "uri": "file:///a/file.ts"
+ },
+ "range": {
+ "start": {
+ "line": 441,
+ "character": 33
+ },
+ "end": {
+ "line": 441,
+ "character": 42
+ }
+ },
+ "context": {
+ "diagnostics": [
+ {
+ "range": {
+ "start": {
+ "line": 441,
+ "character": 33
+ },
+ "end": {
+ "line": 441,
+ "character": 42
+ }
+ },
+ "severity": 1,
+ "code": 7031,
+ "source": "deno-ts",
+ "message": "Binding element 'debugFlag' implicitly has an 'any' type."
+ }
+ ],
+ "only": [
+ "quickfix"
+ ]
+ }
+}