Skip to content

Commit ea0eff9

Browse files
author
James Halliday
committed
failing order test
1 parent acf1865 commit ea0eff9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

test/order.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
var test = require('../');
2+
var current = 0;
3+
4+
test(function (t) {
5+
t.equal(current++, 0);
6+
t.end();
7+
});
8+
test(function (t) {
9+
t.plan(1);
10+
setTimeout(function () {
11+
t.equal(current++, 1);
12+
}, 100);
13+
});
14+
test(function (t) {
15+
t.equal(current++, 2);
16+
t.end();
17+
});

0 commit comments

Comments
 (0)