forked from mochajs/mocha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove reference to test before afterAll hook runs
Fix mochajs#2006
- Loading branch information
Stone
committed
Dec 29, 2015
1 parent
0d3321d
commit 5bb930f
Showing
4 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
test/integration/fixtures/hooks/before.hook.async.error.tip.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
describe('spec 1', function() { | ||
it('should not blame me', function() { }); | ||
}); | ||
describe('spec 2', function() { | ||
before(function(done) { | ||
process.nextTick(function () { | ||
throw new Error('before hook error'); | ||
}); | ||
}); | ||
it('skipped'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
describe('spec 1', function() { | ||
it('should not blame me', function() { }); | ||
}); | ||
describe('spec 2', function() { | ||
before(function() { | ||
throw new Error('before hook error'); | ||
}); | ||
it('skipped'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters