add test coverage

This commit is contained in:
Guillermo Rauch
2014-01-09 13:09:26 -03:00
parent 142c73c9a1
commit 84bf735e4d
2 changed files with 7 additions and 1 deletions

View File

@@ -7,4 +7,9 @@ test:
--slow 200ms \
--bail
test-cov:
@./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- \
--reporter $(REPORTER) \
test/
.PHONY: test

View File

@@ -21,7 +21,8 @@
"devDependencies": {
"mocha": "*",
"expect.js": "*",
"supertest": "*"
"supertest": "*",
"istanbul": "0.2.3"
},
"contributors": [
{