mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-28 21:07:39 +00:00
Pass coverage on test
This commit is contained in:
parent
e4945de64e
commit
fbc38ea50b
@ -15,9 +15,8 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "babel -d ./lib src",
|
"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",
|
"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",
|
"gen-doc": "jsdoc2md --src src/telegram.js -t README.hbs > README.md",
|
||||||
"eslint": "eslint ./src"
|
"eslint": "eslint ./src"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user