From 90e10146883e0b7a3a06ef14fc05d20874611865 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Sat, 3 Nov 2012 13:20:44 +0000 Subject: Colors :) --- tests/frontend/runner.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/frontend/runner.js') diff --git a/tests/frontend/runner.js b/tests/frontend/runner.js index 5ecd0c69..76004a8e 100644 --- a/tests/frontend/runner.js +++ b/tests/frontend/runner.js @@ -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]"); } }); -- cgit v1.2.3