Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

a bit of elbow room

Wil Moore IIIcd71aea6c408
diff --git a/lib/reporters/base.js b/lib/reporters/base.js
index 7d1b9fde..2178963f 100644
--- a/lib/reporters/base.js
+++ b/lib/reporters/base.js
@@ -210,7 +210,8 @@ function Base(runner) {
if (!runner) return;
this.runner = runner;
- runner.stats= stats;
+
+ runner.stats = stats;
runner.on('start', function(){
stats.start = new Date;