Skip to content

Commit

Permalink
passing nested test
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Mar 5, 2014
1 parent 7481178 commit db1baf0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/nested2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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()
})

0 comments on commit db1baf0

Please sign in to comment.