adding istanbul coverage

v1.18.x
Yami 9 years ago
parent 65848d1a76
commit d78edf6f72

5
.gitignore vendored

@ -47,4 +47,7 @@ pidfile
## Transifex ## Transifex
tx.exe tx.exe
.transifexrc .transifexrc
##Coverage output
coverage

@ -11,7 +11,7 @@
"main": "app.js", "main": "app.js",
"scripts": { "scripts": {
"start": "node loader.js", "start": "node loader.js",
"test": "mocha ./tests -t 10000" "test": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- ./tests -t 10000"
}, },
"dependencies": { "dependencies": {
"async": "~1.5.0", "async": "~1.5.0",
@ -85,9 +85,10 @@
"xregexp": "~3.1.0" "xregexp": "~3.1.0"
}, },
"devDependencies": { "devDependencies": {
"mocha": "~1.13.0",
"grunt": "~0.4.5", "grunt": "~0.4.5",
"grunt-contrib-watch": "^0.6.1" "grunt-contrib-watch": "^0.6.1",
"istanbul": "^0.4.2",
"mocha": "~1.13.0"
}, },
"bugs": { "bugs": {
"url": "https://github.com/NodeBB/NodeBB/issues" "url": "https://github.com/NodeBB/NodeBB/issues"

Loading…
Cancel
Save