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
Jest crashes and doesn't run afterEach when an assertion fails within a child_process.exec asynchronous test
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal repository on GitHub that we can npm install and npm test.
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.
What is the current behavior?
Jest crashes and doesn't run afterEach when an assertion fails within a child_process.exec asynchronous test
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal repository on GitHub that we can
npm install
andnpm test
.See repository: https://github.com/evansiroky/jest-exec-bug
What is the expected behavior?
Test should fail, but Jest shouldn't crash. Also, afterEach should be ran.
Run Jest again with
--debug
and provide the full configuration it prints. Please mention your node and npm version and operating system.node 6.5.0
npm 3.10.3
The text was updated successfully, but these errors were encountered: