diff --git a/test/util/mocha.js b/test/util/mocha.js index fb81fa87..634e3cf3 100644 --- a/test/util/mocha.js +++ b/test/util/mocha.js @@ -38,7 +38,7 @@ function onEnd() { } var count = 0; -function onTest() { +function onTestEnd() { if (count % 25 === 0) { update(); @@ -56,7 +56,7 @@ function setupMocha() { function runMocha() { mocha.run() - .on('test', onTest) + .on('test end', onTestEnd) .on('end', onEnd); }