backoffice/node_modules/tape/test/plan_optional.js

16 lines
283 B
JavaScript
Raw Normal View History

2020-02-06 10:09:39 +00:00
var test = require('../');
test('plan should be optional', function (t) {
t.pass('no plan here');
t.end();
});
test('no plan async', function (t) {
setTimeout(function() {
t.pass('ok');
t.end();
}, 100);
});
// vim: set softtabstop=4 shiftwidth=4: