ValentinH / jest-fail-on-console

Utility to make jest tests fail when console.error() or any other methods are used
MIT License
141 stars 20 forks source link

Failures all attributed to first test #24

Closed mattyb closed 1 year ago

mattyb commented 2 years ago

I'm seeing that this package successfully fails the test suite, but that all the failures are assigned to the first test regardless of which one caused the error. Is that an expected behavior? I'm on @jest/core 26.6.3

ValentinH commented 2 years ago

No this is not the expected behavior. I haven't observed this on my codebases, are you able to share an example repository?

ValentinH commented 1 year ago

Closing as there was no answer for a while. Comment to re-open 😉