зеркало из https://github.com/microsoft/ghcrawler.git
Add istanbul code coverage
This commit is contained in:
Родитель
afa27e3ce4
Коммит
f720584d90
|
@ -1,3 +1,4 @@
|
|||
node_modules/
|
||||
typings/
|
||||
npm-debug.log
|
||||
coverage/
|
||||
|
|
|
@ -2,13 +2,34 @@
|
|||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Run mocha",
|
||||
"name": "Mocha",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
||||
"stopOnEntry": false,
|
||||
"args": [
|
||||
"test/*.js"
|
||||
"${workspace}/test/*.js"
|
||||
],
|
||||
"cwd": "${workspaceRoot}",
|
||||
"runtimeExecutable": null,
|
||||
"runtimeArgs": [
|
||||
"--nolazy"
|
||||
],
|
||||
"env": {
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"console": "internalConsole"
|
||||
},
|
||||
{
|
||||
"name": "Coverage",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/node_modules/istanbul/lib/cli.js",
|
||||
"stopOnEntry": false,
|
||||
"args": [
|
||||
"cover",
|
||||
"${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
||||
"${workspaceRoot}/test/*.js"
|
||||
],
|
||||
"cwd": "${workspaceRoot}",
|
||||
"runtimeExecutable": null,
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
"chai": "^3.5.0",
|
||||
"grunt": "^1.0.1",
|
||||
"grunt-mocha-test": "^0.13.2",
|
||||
"istanbul": "^0.4.5",
|
||||
"mocha": "^3.1.2"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче