UNPKG

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