From 3344f050992279f369366867388c5a77144800da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 21 Sep 2026 22:29:43 +0200 Subject: [PATCH] reporter: lower max dots per line from 100 to 80 The original version from PR gh-31 used 100 dots per line, which doesn't fit in all terminals; 80 is a more sensible default. If the terminal is wider, it will just produce more dotted lines than necessary. If the terminal is narrower and the whole line doesn't fit, though, the dots wrap and then end mid-line which looks much worse. --- reporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporter.js b/reporter.js index 120f173..645ca0f 100644 --- a/reporter.js +++ b/reporter.js @@ -2,7 +2,7 @@ import chalk from "chalk"; import { prettyMs } from "./lib/prettyMs.js"; import * as Diff from "diff"; -const MAX_DOTS_PER_LINE = 100; +const MAX_DOTS_PER_LINE = 80; function serializeForDiff( value ) {