From 80a25c0e6ef910c4d57094ce0e3db0c34bf2bcb2 Mon Sep 17 00:00:00 2001 From: GochoMugo Date: Fri, 6 Jan 2017 15:13:24 +0300 Subject: [PATCH] [test] Place and update test options in mocha.opts file --- package.json | 2 +- test/mocha.opts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b8e3e30..8a10d0a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/mocha.opts b/test/mocha.opts index 7903b88..c7f44ab 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -1 +1,3 @@ ---require babel-register \ No newline at end of file +--reporter spec +--require babel-register +--timeout 30000