2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-22 01:47:25 +00:00

[test] Place and update test options in mocha.opts file

This commit is contained in:
GochoMugo 2017-01-06 15:13:24 +03:00
parent eba70cd3d7
commit 80a25c0e6e
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,7 @@
"scripts": {
"build": "babel -d ./lib src",
"prepublish": "npm run build",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --timeout 10000",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha",
"prepublish:test": "npm run prepublish && npm run test",
"gen-doc": "jsdoc2md --src src/telegram.js -t README.hbs > README.md",
"eslint": "eslint ./src ./test",

View File

@ -1 +1,3 @@
--require babel-register
--reporter spec
--require babel-register
--timeout 30000