Skip to content

Commit d871d31

Browse files
committed
1 parent 5fea24a commit d871d31

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

.vscode/launch.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@
77
"name": "Unit Tests",
88
"protocol": "legacy",
99
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
10-
"runtimeExecutable": "${execPath}",
10+
"runtimeExecutable": "${workspaceRoot}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
11+
"windows": {
12+
"runtimeExecutable": ""
13+
},
14+
"linux": {
15+
"runtimeExecutable": ""
16+
},
1117
"stopOnEntry": false,
1218
"args": [
1319
"--timeout",
14-
"999999"
20+
"2000"
1521
],
1622
"cwd": "${workspaceRoot}",
1723
"env": {
@@ -20,7 +26,8 @@
2026
"sourceMaps": true,
2127
"outFiles": [
2228
"${workspaceRoot}/out/**/*.js"
23-
]
29+
],
30+
"preLaunchTask": "electron"
2431
},
2532
{
2633
"type": "node",

.vscode/tasks.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
],
4848
"severity": "warning",
4949
"pattern": {
50-
"regexp": "(.*)\\[(\\d+),\\s(\\d+)\\]:\\s(.*)$", // (.*)\[(\d+), (\d+)\]: (.*)
50+
"regexp": "(.*)\\[(\\d+),\\s(\\d+)\\]:\\s(.*)$", // (.*)\[(\d+), (\d+)\]: (.*)
5151
"file": 1,
5252
"line": 2,
5353
"column": 3,
@@ -62,6 +62,13 @@
6262
],
6363
"showOutput": "always",
6464
"isTestCommand": true
65+
},
66+
{
67+
"taskName": "electron",
68+
"args": [
69+
"--no-color"
70+
],
71+
"showOutput": "never"
6572
}
6673
]
6774
}

0 commit comments

Comments
 (0)