summaryrefslogtreecommitdiff
path: root/cli/tests/lsp
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-05-21 07:35:37 +1000
committerGitHub <noreply@github.com>2021-05-21 07:35:37 +1000
commit8708d3c0451129792d58b7fa856101ceaa7bf487 (patch)
treeb7250e707061d4d844078b45e8c867f5269e2d45 /cli/tests/lsp
parent8aa09ccba92320ca4109c9efe8ec44306c2e5cbc (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"
+ ]
+ }
+}