diff --git a/test/schemes/flat.test.js b/test/schemes/flat.test.js index 341c78c..ed773f0 100644 --- a/test/schemes/flat.test.js +++ b/test/schemes/flat.test.js @@ -25,7 +25,8 @@ describe('flat scheme', function () { walker.on('error', function (err) { err.must.throw(); done(); - }); + }) + .resume(); }); describe('ignore', function () { diff --git a/test/schemes/nested.test.js b/test/schemes/nested.test.js index 351e81b..2d70f4c 100644 --- a/test/schemes/nested.test.js +++ b/test/schemes/nested.test.js @@ -25,7 +25,8 @@ describe('nested scheme', function () { walker.on('error', function (err) { err.must.throw(); done(); - }); + }) + .resume(); }); describe('ignore', function () {