Skip to content

Commit

Permalink
Test automation: More color highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Feb 21, 2011
1 parent 029ba31 commit a974f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/test.js
Expand Up @@ -39,7 +39,7 @@ function addLogging(suite, done) {
};

QUnit.done = function(result){
console.log(suite + ": Took " + result.runtime + "ms to run " + result.total + " tests. ✔ " + result.passed + " \u001B[31m✖ " + result.failed + "\u001B[39m ");
console.log(suite + ": Took " + result.runtime + "ms to run " + result.total + " tests. \u001B[32m✔ " + result.passed + "\u001B[39m \u001B[31m✖ " + result.failed + "\u001B[39m ");
done(result.failed > 0 ? 1 : 0);
};
}
Expand Down

0 comments on commit a974f7a

Please sign in to comment.