diff options
| author | Kitson Kelly <me@kitsonkelly.com> | 2021-05-29 21:21:11 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-29 21:21:11 +1000 |
| commit | bbefceddb97c2eb7d8cd191dc15f3dc23ed5f6de (patch) | |
| tree | 1daefc539d0c5f72346e403f29dff9f07517ec6c /cli/tests/lsp/code_action_params_imports.json | |
| parent | 5f92f35beed4e2670ef684e8c0561f4d64d19c92 (diff) | |
fix(#10765): lsp import fixes include extensions (#10778)
Fixes #10765
Diffstat (limited to 'cli/tests/lsp/code_action_params_imports.json')
| -rw-r--r-- | cli/tests/lsp/code_action_params_imports.json | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/cli/tests/lsp/code_action_params_imports.json b/cli/tests/lsp/code_action_params_imports.json new file mode 100644 index 000000000..7a5824923 --- /dev/null +++ b/cli/tests/lsp/code_action_params_imports.json @@ -0,0 +1,54 @@ +{ + "textDocument": { + "uri": "file:///a/file01.ts" + }, + "range": { + "start": { + "line": 1, + "character": 12 + }, + "end": { + "line": 1, + "character": 15 + } + }, + "context": { + "diagnostics": [ + { + "range": { + "start": { + "line": 1, + "character": 12 + }, + "end": { + "line": 1, + "character": 15 + } + }, + "severity": 1, + "code": 2304, + "source": "deno-ts", + "message": "Cannot find name 'abc'." + }, + { + "range": { + "start": { + "line": 2, + "character": 12 + }, + "end": { + "line": 2, + "character": 15 + } + }, + "severity": 1, + "code": 2304, + "source": "deno-ts", + "message": "Cannot find name 'def'." + } + ], + "only": [ + "quickfix" + ] + } +} |
