-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2028 from stonelgh/remove-reference-to-test-try2
Remove reference to test before afterAll hook runs
- Loading branch information
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