Skip to content

Commit

Permalink
Revert test pass symbol in List reporter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Aldaviva authored and boneskull committed Nov 24, 2016
1 parent 4a2e85a commit f5bef7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporters/list.js
Expand Up @@ -42,7 +42,7 @@ function List (runner) {
});

runner.on('pass', function (test) {
var fmt = color('checkmark', ' ' + Base.symbols.dot) +
var fmt = color('checkmark', ' ' + Base.symbols.ok) +
color('pass', ' %s: ') +
color(test.speed, '%dms');
cursor.CR();
Expand Down

0 comments on commit f5bef7c

Please sign in to comment.