summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lsp/code_actions/cache_npm
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-08 18:15:20 -0500
committerGitHub <noreply@github.com>2023-03-08 23:15:20 +0000
commit25d98ca289af64f85759fe10c8808afbfb7011e3 (patch)
tree79f0126791ae317b030696b7c507dee6420a660e /cli/tests/testdata/lsp/code_actions/cache_npm
parentf2e5e01832a40eb71be82f1b46304c56aa2e8dba (diff)
refactor(lsp): improve test client initialization (#18015)
Diffstat (limited to 'cli/tests/testdata/lsp/code_actions/cache_npm')
-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
-}