Skip to content

Commit d148220

Browse files
authored
fix(reporter): lower max dots per line from 100 to 80 (#40)
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. Ref gh-31
1 parent 1f1e472 commit d148220

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎reporter.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import chalk from "chalk";
22
import { prettyMs } from "./lib/prettyMs.js";
33
import * as Diff from "diff";
44

5-
const MAX_DOTS_PER_LINE = 100;
5+
const MAX_DOTS_PER_LINE = 80;
66

77
function serializeForDiff( value ) {
88

0 commit comments

Comments
 (0)