☕️ Classic, reliable, trusted test framework for Node.js and the browser
adding before hook to --bail test
Alexander Earlye4a4744ab8b1
diff --git a/test/acceptance/misc/bail.js b/test/acceptance/misc/bail.jsindex 25b0c10f..7c46c743 100644--- a/test/acceptance/misc/bail.js+++ b/test/acceptance/misc/bail.js@@ -10,6 +10,11 @@ describe('bail', function(){})describe('bail-2', function(){++ before(function (done) {+ throw new Error('this hook should not be displayed');+ })+it('should not display this error', function(done){throw new Error('this should not be displayed');})