Browse Source

add coverage

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
e6c53e6cb2
  1. 5
      Makefile
  2. 3
      package.json

5
Makefile

@ -0,0 +1,5 @@
.PHONY: test
test:
./node_modules/.bin/mocha
cover:
./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter spec test

3
package.json

@ -41,7 +41,8 @@
"sinon": "^1.10.3",
"memdown": "^1.0.0",
"jsdoc": "^3.3.0",
"supertest": "*"
"supertest": "*",
"istanbul": "*"
},
"scripts": {
"start": "node server.js"

Loading…
Cancel
Save