-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
beforeAll and afterAll execute asyncronious functions inside xdescribe, unlike their -Each counterparts #1175
Comments
This definitely looks like a bug in Jasmine. We would be happy to review a pull request that fixes this issue. |
It looks like this broke when |
Hi guys, It seems that I found a workaround here, while this issue will be fixed.
Thanks, |
The behaviour inside disabled suites (i.e. in the xdescribe function calls) of beforeAll and beforeEach differs considerably, and I suppose this is not an expected behavior.
In the example below, if the
beforeAll
call is changed tobeforeEach
then the suite passes, otherwise it is not.One can use such constructs to setup a requirejs module before all specs, so this is not an artificial example, it is just simplified.
The same issue is with afterAll.
The text was updated successfully, but these errors were encountered: