Skip to content

Commit c3b7dda

Browse files
author
James Halliday
committedDec 21, 2012
failing order test
1 parent feeb197 commit c3b7dda

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)
Please sign in to comment.