mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-19 17:19:42 +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:
co-authored by
Claude Opus 4.6
parent
eec626eb6f
commit
34f582ddef
@@ -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('');
|
||||||
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('');
|
console.log('');
|
||||||
|
|
||||||
if (opts.jsonReport) {
|
if (opts.jsonReport) {
|
||||||
|
|||||||
Reference in New Issue
Block a user