UNPKG

taper

Version:

Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.

12 lines (6 loc) 231 B
var test = require('tap').test; test('failing example which writes to stderr', function (t) { t.equal('foo', 'bar', 'purposefully making this fail for example'); console.error('I will log to stderr here.'); t.end(); });