You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vitest fails with a error message of Vitest caught X unhandled errors during the test run. but there is no meaningful error trace. Moreover, the test run failure in intermittent. It passes if the test suite is triggered multiple times. We do have error handling in most of the cases, but the chance where there isn't, Vitest should atleast be able to pinpoint to the problematic test case(s).
Attaching the screenshot of the error.
Reproduction
There is no definitive way to reproduce the issue, since, vitest itself isn't consistent in the report. It often fails, but then succeeds when ran multiple times. It causes unnecessary dev effort to check whether there is a meaningful test failure or this "unhandled errors" getting reported.
Hello @Kanishk-Anand. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with needs reproduction will be closed if they have no activity within 3 days.
Describe the bug
Vitest fails with a error message of
Vitest caught X unhandled errors during the test run.
but there is no meaningful error trace. Moreover, the test run failure in intermittent. It passes if the test suite is triggered multiple times. We do have error handling in most of the cases, but the chance where there isn't, Vitest should atleast be able to pinpoint to the problematic test case(s).Attaching the screenshot of the error.
Reproduction
There is no definitive way to reproduce the issue, since, vitest itself isn't consistent in the report. It often fails, but then succeeds when ran multiple times. It causes unnecessary dev effort to check whether there is a meaningful test failure or this "unhandled errors" getting reported.
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: