From 6d0569788c3d799a44a22303aa2e5fbfed7fd6b9 Mon Sep 17 00:00:00 2001 From: can1357 Date: Tue, 30 Jun 2026 21:27:41 +0200 Subject: [PATCH] ci: formatted test runner progress, summary, and failure parsing to match bun style - Refactored `formatProgressLine` to display passes and failures in the visual style of `bun test` including elapsed time. - Implemented `extractFailingTests` to parse individual test failures and their raw output details out of captured stdout/stderr. - Added a `formatSummaryFooter` to output a clean concluding tally of passed/failed chunks and the total wall time. --- scripts/ci-test-ts.ts | 131 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 115 insertions(+), 16 deletions(-) diff --git a/scripts/ci-test-ts.ts b/scripts/ci-test-ts.ts index 04d36524d..57cfdc1c3 100755 --- a/scripts/ci-test-ts.ts +++ b/scripts/ci-test-ts.ts @@ -517,28 +517,120 @@ interface ChunkOutcome { output: string; } -// One-line live progress entry, e.g. `[12/86] ok 3.2s