Skip to content

Commit 8a55c9b

Browse files
committed
Fixed Mocha test
1 parent 9ecc91f commit 8a55c9b

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.vscode/launch.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"configurations": [
55
{
66
"name": "Run G-Code (Sandbox) - Samples",
7-
"type": "pwa-extensionHost",
7+
"type": "extensionHost",
88
"request": "launch",
99
"runtimeExecutable": "${execPath}",
1010
"args": [
@@ -33,7 +33,7 @@
3333
},
3434
{
3535
"name": "Run G-Code (Sandbox)",
36-
"type": "pwa-extensionHost",
36+
"type": "extensionHost",
3737
"request": "launch",
3838
"runtimeExecutable": "${execPath}",
3939
"args": [
@@ -60,7 +60,7 @@
6060
},
6161
{
6262
"name": "Run G-Code (Full)",
63-
"type": "pwa-extensionHost",
63+
"type": "extensionHost",
6464
"request": "launch",
6565
"runtimeExecutable": "${execPath}",
6666
"args": [
@@ -86,7 +86,7 @@
8686
},
8787
{
8888
"name": "Run G-Code As Web Extension",
89-
"type": "pwa-extensionHost",
89+
"type": "extensionHost",
9090
"debugWebWorkerHost": true,
9191
"request": "launch",
9292
"args": [
@@ -105,15 +105,17 @@
105105
},
106106
{
107107
"name": "G-Code Mocha Unit Tests",
108-
"type": "pwa-node",
108+
"type": "node",
109109
"request": "launch",
110110
"internalConsoleOptions": "openOnSessionStart",
111111
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
112112
"args": [
113-
"--no-timeouts",
114-
"--colors",
115113
"--require",
116114
"ts-node/register",
115+
"--timeout",
116+
"0",
117+
"--colors",
118+
"--recursive",
117119
"${workspaceFolder}/test/unit/*.test.ts"
118120
],
119121
"skipFiles": [

0 commit comments

Comments
 (0)