This commit is contained in:
Joao Moreno 2017-02-15 11:58:33 +01:00
parent 5fea24a9ad
commit d871d315c8
2 changed files with 18 additions and 4 deletions

13
.vscode/launch.json vendored
View file

@ -7,11 +7,17 @@
"name": "Unit Tests",
"protocol": "legacy",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"runtimeExecutable": "${execPath}",
"runtimeExecutable": "${workspaceRoot}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": ""
},
"linux": {
"runtimeExecutable": ""
},
"stopOnEntry": false,
"args": [
"--timeout",
"999999"
"2000"
],
"cwd": "${workspaceRoot}",
"env": {
@ -20,7 +26,8 @@
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
]
],
"preLaunchTask": "electron"
},
{
"type": "node",

9
.vscode/tasks.json vendored
View file

@ -47,7 +47,7 @@
],
"severity": "warning",
"pattern": {
"regexp": "(.*)\\[(\\d+),\\s(\\d+)\\]:\\s(.*)$", // (.*)\[(\d+), (\d+)\]: (.*)
"regexp": "(.*)\\[(\\d+),\\s(\\d+)\\]:\\s(.*)$", // (.*)\[(\d+), (\d+)\]: (.*)
"file": 1,
"line": 2,
"column": 3,
@ -62,6 +62,13 @@
],
"showOutput": "always",
"isTestCommand": true
},
{
"taskName": "electron",
"args": [
"--no-color"
],
"showOutput": "never"
}
]
}