diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-03-08 18:15:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 23:15:20 +0000 |
commit | 25d98ca289af64f85759fe10c8808afbfb7011e3 (patch) | |
tree | 79f0126791ae317b030696b7c507dee6420a660e /cli/tests/testdata/lsp/code_actions/cache_npm | |
parent | f2e5e01832a40eb71be82f1b46304c56aa2e8dba (diff) |
refactor(lsp): improve test client initialization (#18015)
Diffstat (limited to 'cli/tests/testdata/lsp/code_actions/cache_npm')
3 files changed, 0 insertions, 102 deletions
diff --git a/cli/tests/testdata/lsp/code_actions/cache_npm/cache_action.json b/cli/tests/testdata/lsp/code_actions/cache_npm/cache_action.json deleted file mode 100644 index b698df3bd..000000000 --- a/cli/tests/testdata/lsp/code_actions/cache_npm/cache_action.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "textDocument": { - "uri": "file:///a/file.ts" - }, - "range": { - "start": { - "line": 0, - "character": 18 - }, - "end": { - "line": 0, - "character": 29 - } - }, - "context": { - "diagnostics": [ - { - "range": { - "start": { - "line": 0, - "character": 18 - }, - "end": { - "line": 0, - "character": 29 - } - }, - "severity": 1, - "code": "no-cache-npm", - "source": "deno", - "message": "Uncached or missing npm package: \"chalk\".", - "data": { - "specifier": "npm:chalk" - } - } - ], - "only": [ - "quickfix" - ] - } -} diff --git a/cli/tests/testdata/lsp/code_actions/cache_npm/cache_response.json b/cli/tests/testdata/lsp/code_actions/cache_npm/cache_response.json deleted file mode 100644 index 1b41babcb..000000000 --- a/cli/tests/testdata/lsp/code_actions/cache_npm/cache_response.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "title": "Cache \"npm:chalk\" and its dependencies.", - "kind": "quickfix", - "diagnostics": [ - { - "range": { - "start": { - "line": 0, - "character": 18 - }, - "end": { - "line": 0, - "character": 29 - } - }, - "severity": 1, - "code": "no-cache-npm", - "source": "deno", - "message": "Uncached or missing npm package: \"chalk\".", - "data": { - "specifier": "npm:chalk" - } - } - ], - "command": { - "title": "", - "command": "deno.cache", - "arguments": [ - [ - "npm:chalk" - ] - ] - } - } -] diff --git a/cli/tests/testdata/lsp/code_actions/cache_npm/diagnostics.json b/cli/tests/testdata/lsp/code_actions/cache_npm/diagnostics.json deleted file mode 100644 index 63c9d0029..000000000 --- a/cli/tests/testdata/lsp/code_actions/cache_npm/diagnostics.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "uri": "file:///a/file.ts", - "diagnostics": [ - { - "range": { - "start": { - "line": 0, - "character": 18 - }, - "end": { - "line": 0, - "character": 29 - } - }, - "severity": 1, - "code": "no-cache-npm", - "source": "deno", - "message": "Uncached or missing npm package: \"chalk\".", - "data": { - "specifier": "npm:chalk" - } - } - ], - "version": 1 -} |