☕️ Classic, reliable, trusted test framework for Node.js and the browser
fixed another
TJ Holowaychuk2228806d0739
diff --git a/test/hook.async.js b/test/hook.async.jsindex 81abb41f..6761c00c 100644--- a/test/hook.async.js+++ b/test/hook.async.js@@ -25,12 +25,10 @@ describe('async', function(){})beforeEach(function(){- // should not be invokedcalls.push('parent before');})afterEach(function(){- // should not be invokedcalls.push('parent after' );})@@ -54,6 +52,7 @@ describe('async', function(){calls.should.eql(['root before all', 'before all'+ , 'parent before', 'before']);calls.push('one');process.nextTick(done);@@ -63,9 +62,12 @@ describe('async', function(){calls.should.eql(['root before all', 'before all'+ , 'parent before', 'before', 'one', 'after'+ , 'parent after'+ , 'parent before', 'before']);calls.push('two');})@@ -74,12 +76,17 @@ describe('async', function(){calls.should.eql(['root before all', 'before all'+ , 'parent before', 'before', 'one', 'after'+ , 'parent after'+ , 'parent before', 'before', 'two', 'after'+ , 'parent after'+ , 'parent before', 'before']);calls.push('three');})