UNPKG

taper

Version:

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

14 lines (7 loc) 201 B
var test = require('tap').test; var obj = { }; test('failing example which throws', function (t) { obj.boom(); //throws TypeError since boom is not a method of obj t.ok(true); t.end(); });