order.js 285 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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(); });