Skip to content

Commit

Permalink
Fix trumpet ASCII invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshopkins committed May 4, 2016
1 parent 30bef86 commit e5d8c7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ function Trumpet(runner) {
});

runner.on('fail', function(test) {
console.log(trumpet);
sfx.play(__dirname + '/sound.m4a');
cursor.CR();
sfx.play(__dirname + '/sound.m4a');
console.log(indent() + color('fail', ' %d) %s'), ++n, test.title);
});

runner.on('end', function() {
return this.epilogue();
this.stats.failures && console.log(trumpet);
this.epilogue();
}.bind(self));
}

Expand Down

0 comments on commit e5d8c7a

Please sign in to comment.