forgeplus-react/node_modules/tape/test/double_end/double.js

14 lines
172 B
JavaScript

'use strict';
var test = require('../../');
test('double end', function (t) {
function doEnd() {
t.end();
}
t.equal(1 + 1, 2);
t.end();
setTimeout(doEnd, 5);
});