From 25b784f00d40e20714709bf61e09046d4b9c8fd8 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Fri, 21 May 2021 07:35:37 +1000 Subject: chore(lsp): provide test for lsp deadlock issue (#10679) Resolves: #10587 --- cli/tests/lsp/code_action_params_deadlock.json | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 cli/tests/lsp/code_action_params_deadlock.json (limited to 'cli/tests/lsp') 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" + ] + } +} -- cgit v1.2.3