fix test running from vscode
This commit is contained in:
parent
bb99436dba
commit
af0c083522
5
.vscode/launch.json
vendored
5
.vscode/launch.json
vendored
|
@ -6,6 +6,7 @@
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
||||||
|
"runtimeExecutable": "${execPath}",
|
||||||
"stopOnEntry": false,
|
"stopOnEntry": false,
|
||||||
"args": [
|
"args": [
|
||||||
"--timeout",
|
"--timeout",
|
||||||
|
@ -13,7 +14,9 @@
|
||||||
],
|
],
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"runtimeArgs": [],
|
"runtimeArgs": [],
|
||||||
"env": {},
|
"env": {
|
||||||
|
"ELECTRON_RUN_AS_NODE": "true"
|
||||||
|
},
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outDir": "${workspaceRoot}/out"
|
"outDir": "${workspaceRoot}/out"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue