Created
June 6, 2020 17:28
-
-
Save craigtaub/d56ec337145d64be0939da001a4d1486 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Base.prototype.epilogue = function() { | |
var stats = this.stats | |
Base.consoleLog() | |
// passes | |
var fmt = | |
color("bright pass", " ") + | |
color("green", " %d passing") + | |
color("light", " (%s)") | |
Base.consoleLog(fmt, stats.passes || 0, milliseconds(stats.duration)) | |
// failures | |
if (stats.failures) { | |
fmt = color("fail", " %d failing") | |
Base.consoleLog(fmt, stats.failures) | |
Base.list(this.failures) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment