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

Fix setDefaultTimeout for beforeAll and afterAll #648

Merged
merged 1 commit into from
Aug 15, 2018

Conversation

raphinesse
Copy link
Contributor

Previously, the timeout defined by setDefaultTimeout did not apply for
beforeAll and afterAll blocks. This change fixes that.

The new implementation makes use of the fact that Jasmine processes
beforeAll in FIFO order and afterAll in LIFO order.

This should fix the failing tests for #640.

Previously, the timeout defined by setDefaultTimeout did not apply for
beforeAll and afterAll blocks. This change fixes that.

The new implementation makes use of the fact that Jasmine processes
beforeAll in FIFO order and afterAll in LIFO order.
@raphinesse raphinesse added the bug label Aug 15, 2018
@raphinesse raphinesse merged commit 25ce908 into apache:master Aug 15, 2018
@raphinesse raphinesse deleted the fix-setDefaultTimeout branch August 15, 2018 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants