Colors :)

This commit is contained in:
Peter 'Pita' Martischka 2012-11-03 13:20:44 +00:00
parent 67f12493ed
commit 90e1014688
2 changed files with 9 additions and 4 deletions

View file

@ -45,9 +45,9 @@ $(function(){
runner.on('test end', function(test){
if ('passed' == test.state) {
append("->","PASSED :", test.title);
append("->","[green]PASSED[clear] :", test.title);
} else if (test.pending) {
append("->","PENDING:", test.title);
append("->","[yellow]PENDING[clear]:", test.title);
} else {
var err = test.err.stack || test.err.toString();
@ -65,7 +65,7 @@ $(function(){
err += "\n(" + test.err.sourceURL + ":" + test.err.line + ")";
}
append("->","FAILED :", test.title, err);
append("->","[red]","FAILED :", test.title, err, "[clear]");
}
});