auth-api/tests/node_modules/tape/test/nested2.js

22 lines
335 B
JavaScript
Raw Normal View History

2021-06-23 22:30:45 +02:00
'use strict';
var test = require('../');
test(function (t) {
var i = 0;
t.test('setup', function (t) {
process.nextTick(function () {
t.equal(i, 0, 'called once');
i++;
t.end();
});
});
t.test('teardown', function (t) {
t.end();
});
t.end();
});