Uncaught exceptions from webworkers started by tests in browser runner not shown properly #7440
Open
6 tasks done
Labels
feat: browser
Issues and PRs related to the browser runner
p2-to-be-discussed
Enhancement under consideration (priority)
pending triage
Describe the bug
When using the browser runner, if a test starts a webworker, and that webworker throws an uncaught exception, instead of the exception being properly printed with other test output, it gets shown as stderr output of "null" with no easy way to track down the source of it.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-oszejgfz?file=test%2Fbasic.test.ts
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: