12 lines
178 B
JavaScript
12 lines
178 B
JavaScript
![]() |
var test = require('../../');
|
||
|
|
||
|
test('double end', function (t) {
|
||
|
function doEnd() {
|
||
|
t.end();
|
||
|
}
|
||
|
|
||
|
t.equal(1 + 1, 2);
|
||
|
t.end();
|
||
|
setTimeout(doEnd, 5);
|
||
|
});
|