node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

colored-tape

colored-tape

color result of tape

forked from substack/tape

Example

var test = require('colored-tape');
 
test('timing test', function (t) {
    t.plan(2);
 
    t.equal(typeof Date.now, 'function');
    var start = Date.now();
 
    setTimeout(function () {
        t.equal(Date.now() - start, 100);
    }, 100);
});

Installation

With npm do:

npm install colored-tape

license

MIT (same as substack/tape)