auth-api/tests/node_modules/tape/test/order.js
2021-06-23 22:30:45 +02:00

20 lines
300 B
JavaScript

'use strict';
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();
});