tap-browser-console-color
v2.1.2
Published
Adds colors to tap/tape reports inside browser console.
Downloads
7
Maintainers
Readme
Tap browser console color
Adds color to console.log messages that start with ok
/ # pass
(green) and not ok
/ # fail
(red).
Monkey patches console.log
.
Usage
npm install tap-browser-console-color --save-dev
var log = require('tap-browser-console-color');
log.patch();
// do tape console stuff
// var test = require('tape');
// test('whatever', function (assert){
// assert.equal(1,1);
// assert.end();
// }
Optional
log.reset();