From fbc38ea50bff469946b2ea2f2cadb5ecec69f1c7 Mon Sep 17 00:00:00 2001 From: Yago Date: Fri, 8 Jul 2016 00:25:17 +0200 Subject: [PATCH] Pass coverage on test --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index f0dce0a..dc1dc24 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,8 @@ ], "scripts": { "prepublish": "babel -d ./lib src", - "test": "mocha test/index.js --timeout 10000", + "test": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --timeout 10000", "prepublish:test": "npm run prepublish && npm run test", - "test-cov": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", "gen-doc": "jsdoc2md --src src/telegram.js -t README.hbs > README.md", "eslint": "eslint ./src" },