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

test(jest): Throw on unhandled rejections #26472

Closed
wants to merge 1 commit into from

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Jun 8, 2021

For whatever reason the unhandledRejection event was not being caught in our test running script wrapper. Duplicated this to our test env setup file. Left the original in scripts/test.js just in case it catches a class of unhandled rejections that the env listener does not.

For whatever reason the `unhandledRejection` event was not being caught in our test running script wrapper. Duplicated this to our test env setup file. Left the original in `scripts/test.js` just in case it catches a class of unhandled rejections that the env listener does not.
@billyvg
Copy link
Member Author

billyvg commented Jun 8, 2021

This ends the test run instead of failing the test.

@github-actions
Copy link
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@github-actions github-actions bot closed this Jul 6, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2021
@mgaeta mgaeta deleted the test/jest/throw-on-unhandled-rejections branch March 18, 2022 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant