mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-11 08:24:57 +03:00
feat: add total time to summary line
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user