Skip to content

Commit f5bef7c

Browse files
Aldavivaboneskull
authored andcommitted
Revert test pass symbol in List reporter
When the reporter symbols were abstracted into the Base module (bec7a6e), the List reporter was accidentally changed to show a dot when a test passes, instead of a checkmark like it used to. The old, correct behavior is also shown on the homepage: https://mochajs.org/#list.
1 parent 4a2e85a commit f5bef7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reporters/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function List (runner) {
4242
});
4343

4444
runner.on('pass', function (test) {
45-
var fmt = color('checkmark', ' ' + Base.symbols.dot) +
45+
var fmt = color('checkmark', ' ' + Base.symbols.ok) +
4646
color('pass', ' %s: ') +
4747
color(test.speed, '%dms');
4848
cursor.CR();

0 commit comments

Comments
 (0)