UNPKG

tape-catch

Version:

a wrapper around tape that catches and reports exceptions

11 lines (8 loc) 194 B
var test = require('./') test('cause an exception', function (assert) { asdf }) test('still run this test', function (assert) { assert.equal(1 + 1, 2, 'this still ran') assert.end() })