From 34f582ddef5333d9c69945dcfee954bee18fa18b Mon Sep 17 00:00:00 2001 From: Nick Shirokov Date: Sat, 28 Mar 2026 13:17:22 +0300 Subject: [PATCH] feat: add total time to summary line Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/skills/runner.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/skills/runner.mjs b/tests/skills/runner.mjs index 152d1190..80d05de2 100644 --- a/tests/skills/runner.mjs +++ b/tests/skills/runner.mjs @@ -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) {