Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lifecycle hooks] Make afterAll hooks operate in the fashion as afterEach. #1312

Merged
merged 1 commit into from
Apr 10, 2017

Conversation

gdborton
Copy link
Contributor

It was discovered that afterAll hooks run in the same order that you add them,
while afterEach hooks were running in reverse order. This commit makes their
order consistent, and adds regression tests.

Relevant issue - #1311

…Each.

It was discovered that afterAll hooks run in the same order that you add them,
while afterEach hooks were running in reverse order.  This commit makes their
order consistent, and adds regression tests.

Relevant issue - jasmine#1311
@slackersoft slackersoft merged commit 50880fc into jasmine:master Apr 10, 2017
slackersoft pushed a commit that referenced this pull request Apr 10, 2017
@gdborton gdborton deleted the afterAll-order branch April 10, 2017 21:40
@mmikirtumov
Copy link

Previously our afterAll logic the following way
-> afterAll1
->afterAll2

Now we see many issues in our test cases.

I think it will be better to add some part of breaking changes part in Release Notes
https://github.com/jasmine/jasmine/blob/master/release_notes/2.6.0.md

Because this kind of change can bring many problems for developers.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants