Skip to content

Instantly share code, notes, and snippets.

@ankjevel
Last active August 18, 2016 08:27
Show Gist options
  • Save ankjevel/49cc4c46a75c9111a3b052be096e1473 to your computer and use it in GitHub Desktop.
Save ankjevel/49cc4c46a75c9111a3b052be096e1473 to your computer and use it in GitHub Desktop.
{
"version": "0.1.0",
"command": "${workspaceRoot}/node_modules/.bin/mocha",
"isShellCommand": false,
"showOutput": "never",
"args": [],
"tasks": [
{
"taskName": "test",
"suppressTaskName": true,
"args": [
"test/unit",
"--recursive"
],
"isTestCommand": true,
"showOutput": "silent",
"isWatching": false,
"problemMatcher": {
"owner": "mocha",
"fileLocation": [
"absolute"
],
"pattern": [
{
"regexp": "^\\s*\\d+\\)\\s+(.+):$",
"message": 1
},
{
"regexp": "^\\s+.*$"
},
{
"regexp": "^\\s+.*$"
},
{
"regexp": "^\\s+.*$"
},
{
"regexp": "^\\s+.*$"
},
{
"regexp": "^\\s+.*$"
},
{
"regexp": "\\s+at\\s(.*)\\s\\((.*?:.*?):(\\d+):(\\d+)\\)",
"file": 2,
"line": 3,
"column": 4
}
]
}
}
]
}
@ankjevel
Copy link
Author

add to .vscode/ folder in project root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment