Skip to content

Commit d468cda

Browse files
committed
Add Mocha Tests launch script for vscode
1 parent c3d15f2 commit d468cda

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.vscode/launch.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Mocha Tests",
11+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
12+
"args": [
13+
"-u",
14+
"bdd",
15+
"--timeout",
16+
"999999",
17+
"--colors",
18+
"${workspaceFolder}/test"
19+
],
20+
"internalConsoleOptions": "openOnSessionStart",
21+
"skipFiles": [
22+
"<node_internals>/**"
23+
]
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)