Skip to content

Instantly share code, notes, and snippets.

@vitali-s
Created January 6, 2019 05:05
Show Gist options
  • Save vitali-s/7de2fa704b8a2631245ce50325c963fe to your computer and use it in GitHub Desktop.
Save vitali-s/7de2fa704b8a2631245ce50325c963fe to your computer and use it in GitHub Desktop.
#vscode #mocha
{
"version": "2.0.0",
"tasks": [
{
"label": "Mocha - Current",
"type": "shell",
"command": ".\\node_modules\\.bin\\mocha -r .\\node_modules\\ts-node\\register",
"args": [
"${relativeFile}"
],
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated"
}
},
{
"label": "Mocha - All",
"type": "shell",
"command": ".\\node_modules\\.bin\\mocha --recursive -r .\\node_modules\\ts-node\\register",
"args": [
"./**/*.spec.ts"
],
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment