summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lsp/code_actions
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/lsp/code_actions')
-rw-r--r--cli/tests/testdata/lsp/code_actions/cache_npm/cache_action.json41
-rw-r--r--cli/tests/testdata/lsp/code_actions/cache_npm/cache_response.json36
-rw-r--r--cli/tests/testdata/lsp/code_actions/cache_npm/diagnostics.json25
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
-}