Skip to content

Commit 143515f

Browse files
committed
added jest targets to launch.json
1 parent 6c37e0c commit 143515f

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.vscode/launch.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@
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 run current file",
11+
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js",
12+
"args": [
13+
"${fileBasename}",
14+
"--verbose",
15+
"-i",
16+
"--no-cache"
17+
],
18+
"console": "integratedTerminal",
19+
"internalConsoleOptions": "neverOpen"
20+
},
21+
{
22+
"type": "node",
23+
"request": "launch",
24+
"name": "Jest run all",
25+
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js",
26+
"args": [
27+
"--verbose",
28+
"-i",
29+
"--no-cache"
30+
],
31+
"console": "integratedTerminal",
32+
"internalConsoleOptions": "neverOpen"
33+
},
34+
{
35+
"type": "node",
36+
"request": "launch",
37+
"name": "Jest watch all tests",
38+
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js",
39+
"args": [
40+
"--verbose",
41+
"-i",
42+
"--no-cache",
43+
"--watchAll"
44+
],
45+
"console": "integratedTerminal",
46+
"internalConsoleOptions": "neverOpen"
47+
},
748
{
849
"name": "node",
950
"program": "${workspaceFolder}/build/index.js",

0 commit comments

Comments
 (0)