Skip to content

Commit 8d75589

Browse files
committed
chore: add launch configuration for Vitest testing in VSCode
1 parent 22fba5a commit 8d75589

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Start testing",
8+
"program": "${workspaceFolder}/node_modules/.bin/vitest",
9+
"args": ["run", "${file}", "--reporter=verbose"],
10+
"console": "integratedTerminal"
11+
},
12+
{
13+
"type": "node",
14+
"request": "launch",
15+
"name": "Start testing (watch)",
16+
"program": "${workspaceFolder}/node_modules/.bin/vitest",
17+
"args": ["${file}", "--reporter=verbose"],
18+
"console": "integratedTerminal"
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)