blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.
1.4k
stars
177
forks
source link
Console color updates for Chrome, Firefox, and Internet Explorer too. #534
Closed
pmw57 closed 8 years ago
Using blanket via web browsers currently results in the ANSI color codes not being supported by their consoles.
This is a fix for both Chrome and Firefox, along with optionally Internet Explorer too.
Details on the Chrome and Firefox console colors are found at http://developer.chrome.com/devtools/docs/console-api#consolelogobject-object and https://getfirebug.com/wiki/index.php/Console.log
Whereas with Internet Explorer we can use console.info and console.error to obtain a suitable display on its console.