UNPKG

tape

Version:

tap-producing test harness for node and browsers

20 lines (15 loc) 306 B
var test = require('../'); test(function(t) { var i = 0 t.test('setup', function(t) { process.nextTick(function() { t.equal(i, 0, 'called once') i++ t.end() }) }) t.test('teardown', function(t) { t.end() }) t.end() })