auth-api/tests/node_modules/tape/test/double_end/double.js
2021-06-23 22:30:45 +02:00

14 lines
193 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);
});