You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
Error conditions in
afterAll
do not cause console output or suite failure in the same way as they do inbeforeAll
To Reproduce
Steps to reproduce the behavior:
https://repl.it/@mmmmmrob/JestAfterAllError
afterAll
hookafterAll
hook write some code that causes an errorExpected behavior
The suite should fail and console output should show the error and stack trace, as it does for
beforeAll
hooks.Link to repl or repo (highly encouraged)
repl.it demo
Issues without a reproduction link are likely to stall.
Run
npx envinfo --preset jest
The text was updated successfully, but these errors were encountered: