Skip to content

Commit 03221d2

Browse files
armano2bradzacher
authored andcommitted
test: fix vscode launch configuration for windows (typescript-eslint#1523)
1 parent f991764 commit 03221d2

File tree

1 file changed

+80
-64
lines changed

1 file changed

+80
-64
lines changed

.vscode/launch.json

Lines changed: 80 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -4,69 +4,85 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7-
{
8-
"type": "node",
9-
"request": "launch",
10-
"name": "Jest Test Current eslint-plugin Rule",
11-
"cwd": "${workspaceFolder}/packages/eslint-plugin/",
12-
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
13-
"args": [
14-
"--runInBand",
15-
"--no-coverage",
16-
// needs the '' around it so that the () are properly handled
17-
"'tests/(.+/)?${fileBasenameNoExtension}'"
18-
],
19-
"sourceMaps": true,
20-
"console": "integratedTerminal",
21-
"internalConsoleOptions": "neverOpen"
22-
},
23-
{
24-
"type": "node",
25-
"request": "launch",
26-
"name": "Jest Test Current eslint-plugin-internal Rule",
27-
"cwd": "${workspaceFolder}/packages/eslint-plugin-internal/",
28-
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
29-
"args": [
30-
"--runInBand",
31-
"--no-coverage",
32-
// needs the '' around it so that the () are properly handled
33-
"'tests/(.+/)?${fileBasenameNoExtension}'"
34-
],
35-
"sourceMaps": true,
36-
"console": "integratedTerminal",
37-
"internalConsoleOptions": "neverOpen"
38-
},
39-
{
40-
"type": "node",
41-
"request": "launch",
42-
"name": "Run currently opened typescript-estree test",
43-
"cwd": "${workspaceFolder}/packages/typescript-estree/",
44-
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
45-
"args": [
46-
"--runInBand",
47-
"--no-cache",
48-
"--no-coverage",
49-
"${relativeFile}"
50-
],
51-
"sourceMaps": true,
52-
"console": "integratedTerminal",
53-
"internalConsoleOptions": "neverOpen"
54-
},
55-
{
56-
"type": "node",
57-
"request": "launch",
58-
"name": "Run currently opened parser test",
59-
"cwd": "${workspaceFolder}/packages/parser/",
60-
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
61-
"args": [
62-
"--runInBand",
63-
"--no-cache",
64-
"--no-coverage",
65-
"${relativeFile}"
66-
],
67-
"sourceMaps": true,
68-
"console": "integratedTerminal",
69-
"internalConsoleOptions": "neverOpen"
70-
}
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Jest Test Current eslint-plugin Rule",
11+
"cwd": "${workspaceFolder}/packages/eslint-plugin/",
12+
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
13+
"args": [
14+
"--runInBand",
15+
"--no-cache",
16+
"--no-coverage",
17+
"${fileBasenameNoExtension}"
18+
],
19+
"sourceMaps": true,
20+
"console": "integratedTerminal",
21+
"internalConsoleOptions": "neverOpen"
22+
},
23+
{
24+
"type": "node",
25+
"request": "launch",
26+
"name": "Jest Test Current eslint-plugin-internal Rule",
27+
"cwd": "${workspaceFolder}/packages/eslint-plugin-internal/",
28+
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
29+
"args": [
30+
"--runInBand",
31+
"--no-cache",
32+
"--no-coverage",
33+
"${fileBasenameNoExtension}"
34+
],
35+
"sourceMaps": true,
36+
"console": "integratedTerminal",
37+
"internalConsoleOptions": "neverOpen"
38+
},
39+
{
40+
"type": "node",
41+
"request": "launch",
42+
"name": "Run currently opened typescript-estree test",
43+
"cwd": "${workspaceFolder}/packages/typescript-estree/",
44+
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
45+
"args": [
46+
"--runInBand",
47+
"--no-cache",
48+
"--no-coverage",
49+
"${fileBasename}"
50+
],
51+
"sourceMaps": true,
52+
"console": "integratedTerminal",
53+
"internalConsoleOptions": "neverOpen"
54+
},
55+
{
56+
"type": "node",
57+
"request": "launch",
58+
"name": "Run currently opened parser test",
59+
"cwd": "${workspaceFolder}/packages/parser/",
60+
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
61+
"args": [
62+
"--runInBand",
63+
"--no-cache",
64+
"--no-coverage",
65+
"${fileBasename}"
66+
],
67+
"sourceMaps": true,
68+
"console": "integratedTerminal",
69+
"internalConsoleOptions": "neverOpen"
70+
},
71+
{
72+
"type": "node",
73+
"request": "launch",
74+
"name": "Run currently opened experimental-utils test",
75+
"cwd": "${workspaceFolder}/packages/experimental-utils/",
76+
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
77+
"args": [
78+
"--runInBand",
79+
"--no-cache",
80+
"--no-coverage",
81+
"${fileBasenameNoExtension}"
82+
],
83+
"sourceMaps": true,
84+
"console": "integratedTerminal",
85+
"internalConsoleOptions": "neverOpen"
86+
}
7187
]
7288
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy