summaryrefslogtreecommitdiff
path: root/cli/tests/lsp/code_action_resolve_params.json
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/lsp/code_action_resolve_params.json')
-rw-r--r--cli/tests/lsp/code_action_resolve_params.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/cli/tests/lsp/code_action_resolve_params.json b/cli/tests/lsp/code_action_resolve_params.json
new file mode 100644
index 000000000..50c1f9a43
--- /dev/null
+++ b/cli/tests/lsp/code_action_resolve_params.json
@@ -0,0 +1,27 @@
+{
+ "title": "Add all missing 'async' modifiers",
+ "kind": "quickfix",
+ "diagnostics": [
+ {
+ "range": {
+ "start": {
+ "line": 1,
+ "character": 2
+ },
+ "end": {
+ "line": 1,
+ "character": 7
+ }
+ },
+ "severity": 1,
+ "code": 1308,
+ "source": "deno-ts",
+ "message": "'await' expressions are only allowed within async functions and at the top levels of modules.",
+ "relatedInformation": []
+ }
+ ],
+ "data": {
+ "specifier": "file:///a/file.ts",
+ "fixId": "fixAwaitInSyncFunction"
+ }
+}