-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Tests are passing when afterAll() is placed inside a describe and throws #9368
Comments
Any follow-up on this? I too encounter it in Jest 25.5.4. It actually led me to believe that my workaround for some vague problem was working, while it wasn't and exception in Update: Just tried 26.0.1 - same thing. |
Switching to |
This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When executing this:
The test is failing:
This is the expected behavior but when I put the afterAll inside a describe:
The test passes:
I am expecting the test to fail but it does not.
envinfo
Refs
#3785
#3266
#5884
The text was updated successfully, but these errors were encountered: