Skip to content

Commit fbfbaf7

Browse files
committed
Reporter: compute runtime also for Mocha.
1 parent 13535c6 commit fbfbaf7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/_patch/reporter.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
runner.on('runEnd', function(globalSuite) {
3030
var results = {};
3131

32-
// TODO Investigate why is the runtime not functioning for Mocha.
33-
results.runtime = (window.mocha) ? 0 : globalSuite.runtime;
32+
results.runtime = globalSuite.runtime;
3433
results.total = total;
3534
results.passed = passed;
3635
results.failed = failed;

0 commit comments

Comments
 (0)