Skip to content

Conversation

@jmcdo29
Copy link

@jmcdo29 jmcdo29 commented Feb 26, 2022

I've added in a try/catch to catch any errors that happen in the before hook so that they can be reported on and properly have the exit code of 1. If you'd like me to update any of the code styles, let me know. Been loving this test runner so far.

Closes #191
Closes #201

@jmcdo29
Copy link
Author

jmcdo29 commented Mar 18, 2022

@lukeed sorry to be a bother with the ping, just wondering if we can get this looked at? I've loved using uvu so far and want to make it my defacto test runner, this is the missing piece for me at the moment (writing try/catch in the before is rather cumbersome to continually do)

@skibz
Copy link

skibz commented Jul 12, 2022

Please review this for merge. It's a huge quality-of-life improvement to this library.

@randomer
Copy link

Just stumbled upon this bug. Is there any chance of it getting merged anytime soon?

PS: @lukeed Thanks for this library, it's easily the fastest JS test runner I've ever used!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Throwing from test.after.each() makes otherwise failing test pass Errors are not reporeted when thrown from before contexts

3 participants