summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorJesper van den Ende <jespertheend@users.noreply.github.com>2021-12-20 06:00:38 +0100
committerGitHub <noreply@github.com>2021-12-20 16:00:38 +1100
commit0888ba7a8db33ee01f57679308e7e8c4eea108e9 (patch)
treeeaf2933b846b5805973cc529aef3b10332e7a37d /cli/tests
parente20682bd428bc2abb15817bb9762d9c02fb3cdd1 (diff)
feat(lsp): add code lens for debugging tests (#13138)
Closes: #13130
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/testdata/lsp/code_lens_response_test.json224
1 files changed, 216 insertions, 8 deletions
diff --git a/cli/tests/testdata/lsp/code_lens_response_test.json b/cli/tests/testdata/lsp/code_lens_response_test.json
index b2cb4588a..159839816 100644
--- a/cli/tests/testdata/lsp/code_lens_response_test.json
+++ b/cli/tests/testdata/lsp/code_lens_response_test.json
@@ -15,7 +15,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test a"
+ "test a",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 4,
+ "character": 5
+ },
+ "end": {
+ "line": 4,
+ "character": 9
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test a",
+ {
+ "inspect": true
+ }
]
}
},
@@ -35,7 +61,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test b"
+ "test b",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 5,
+ "character": 5
+ },
+ "end": {
+ "line": 5,
+ "character": 9
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test b",
+ {
+ "inspect": true
+ }
]
}
},
@@ -55,7 +107,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test c"
+ "test c",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 9,
+ "character": 0
+ },
+ "end": {
+ "line": 9,
+ "character": 4
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test c",
+ {
+ "inspect": true
+ }
]
}
},
@@ -75,7 +153,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test d"
+ "test d",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 13,
+ "character": 0
+ },
+ "end": {
+ "line": 13,
+ "character": 4
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test d",
+ {
+ "inspect": true
+ }
]
}
},
@@ -95,7 +199,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test e"
+ "test e",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 14,
+ "character": 0
+ },
+ "end": {
+ "line": 14,
+ "character": 5
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test e",
+ {
+ "inspect": true
+ }
]
}
},
@@ -115,7 +245,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test f"
+ "test f",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 18,
+ "character": 0
+ },
+ "end": {
+ "line": 18,
+ "character": 5
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test f",
+ {
+ "inspect": true
+ }
]
}
},
@@ -135,7 +291,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test g"
+ "test g",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 19,
+ "character": 0
+ },
+ "end": {
+ "line": 19,
+ "character": 5
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test g",
+ {
+ "inspect": true
+ }
]
}
},
@@ -155,7 +337,33 @@
"command": "deno.test",
"arguments": [
"file:///a/file.ts",
- "test h"
+ "test h",
+ {
+ "inspect": false
+ }
+ ]
+ }
+ },
+ {
+ "range": {
+ "start": {
+ "line": 23,
+ "character": 0
+ },
+ "end": {
+ "line": 23,
+ "character": 5
+ }
+ },
+ "command": {
+ "title": "Debug",
+ "command": "deno.test",
+ "arguments": [
+ "file:///a/file.ts",
+ "test h",
+ {
+ "inspect": true
+ }
]
}
}