Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

last hook fix

TJ Holowaychuk9b2b741faee1
diff --git a/test/hook.async.js b/test/hook.async.js
index 6761c00c..f235a005 100644
--- a/test/hook.async.js
+++ b/test/hook.async.js
@@ -11,15 +11,21 @@ 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'
, 'three'
, 'after'
+ , 'parent after'
, 'after all'
, 'root after all']);
})