UNPKG

335 BJavaScriptView Raw
1'use strict';
2
3var test = require('../');
4
5test(function (t) {
6 var i = 0;
7 t.test('setup', function (t) {
8 process.nextTick(function () {
9 t.equal(i, 0, 'called once');
10 i++;
11 t.end();
12 });
13 });
14
15
16 t.test('teardown', function (t) {
17 t.end();
18 });
19
20 t.end();
21});