Unhandled error with `vitest` and `Effect.withSpan`
Hi there!
I found a weird issue with
When I run the first test, I have an Unhandled error (see the first screenshost)
When I run only the second one (with withSpan but a string as the error) or when I only run the third one (no withSpan and an
Any idea what's happening?
I found a weird issue with
vitest and Effect.withSpan. Here's a small test file.:When I run the first test, I have an Unhandled error (see the first screenshost)
When I run only the second one (with withSpan but a string as the error) or when I only run the third one (no withSpan and an
Error as the error) I don't have the issue. It fails as we would expect vitest to fail (see the second screenshot)Any idea what's happening?


