feat: add total time to summary line

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-03-28 13:17:22 +03:00
parent eec626eb6f
commit 34f582ddef
+2 -1
View File
@@ -519,8 +519,9 @@ function printReport(results, opts) {
}
}
const totalTime = results.reduce((s, r) => s + parseFloat(r.elapsed), 0).toFixed(1);
console.log('');
console.log(` Passed: ${passed.length} | Failed: ${failed.length} | Total: ${results.length}`);
console.log(` Passed: ${passed.length} | Failed: ${failed.length} | Total: ${results.length} | Time: ${totalTime}s`);
console.log('');
if (opts.jsonReport) {