Restor full function syntax to custom Mocha reporter

This commit is contained in:
Scott Nonnenberg 2018-11-07 16:53:41 -08:00
parent a2202d7d8c
commit e828253ef0
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ window.PROTO_ROOT = '../../protos';
const OriginalReporter = mocha._reporter;
const SauceReporter = runner => {
const SauceReporter = function Constructor(runner) {
const failedTests = [];
runner.on('end', () => {