backoffice/node_modules/tape/test/order.js

18 lines
285 B
JavaScript
Raw Normal View History

2020-02-06 10:09:39 +00:00
var test = require('../');
var current = 0;
test(function (t) {
t.equal(current++, 0);
t.end();
});
test(function (t) {
t.plan(1);
setTimeout(function () {
t.equal(current++, 1);
}, 100);
});
test(function (t) {
t.equal(current++, 2);
t.end();
});