Use spec reporter for Mocha tests (#9476)

Backports PR #9470

**Commit 1:**
Use spec reporter for Mocha tests

Provides context for exceptions and node warnings (ex: UnhandledPromiseRejectionWarning)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Original sha: 786b54d049
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-12-13T22:38:57Z
This commit is contained in:
jasper 2016-12-13 23:28:09 -05:00 committed by Tyler Smalley
parent e1c9eea903
commit 8a748e75c7

View file

@ -5,7 +5,7 @@ module.exports = {
timeout: 10000,
slow: 5000,
ignoreLeaks: false,
reporter: 'dot',
reporter: 'spec',
globals: ['nil']
},
all: {