From 27e7bb090e9d771c8f3e4ddba4dd956a4a56855b Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 18 May 2021 06:45:13 +1000 Subject: refactor: share test harness for lsp between bench and integration (#10659) --- cli/tests/lsp/code_action_params_cache.json | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 cli/tests/lsp/code_action_params_cache.json (limited to 'cli/tests/lsp/code_action_params_cache.json') diff --git a/cli/tests/lsp/code_action_params_cache.json b/cli/tests/lsp/code_action_params_cache.json new file mode 100644 index 000000000..61ae555a3 --- /dev/null +++ b/cli/tests/lsp/code_action_params_cache.json @@ -0,0 +1,41 @@ +{ + "textDocument": { + "uri": "file:///a/file.ts" + }, + "range": { + "start": { + "line": 0, + "character": 19 + }, + "end": { + "line": 0, + "character": 49 + } + }, + "context": { + "diagnostics": [ + { + "range": { + "start": { + "line": 0, + "character": 19 + }, + "end": { + "line": 0, + "character": 49 + } + }, + "severity": 1, + "code": "no-cache", + "source": "deno", + "message": "Unable to load the remote module: \"https://deno.land/x/a/mod.ts\".", + "data": { + "specifier": "https://deno.land/x/a/mod.ts" + } + } + ], + "only": [ + "quickfix" + ] + } +} -- cgit v1.2.3