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

Fail jest tests on console error. #19201

Open
jmchilton opened this issue Nov 25, 2024 · 0 comments
Open

Fail jest tests on console error. #19201

jmchilton opened this issue Nov 25, 2024 · 0 comments

Comments

@jmchilton
Copy link
Member

It looks like this plugin - https://www.npmjs.com/package/jest-fail-on-console - would do it nicely. I think we should at least fail on errors and we I think could even fail on warnings with a little work (not that we can prevent all warnings but we can suppress the ones we don't want to see with a comment).

We would need to finish cleaning up the logs first which I think just means resolving #19200 and #19179.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant