Disable Unhandled Errors and general TypeErrors when test files and test suites succeed #5410
bluedistro
started this conversation in
General
Replies: 1 comment 3 replies
-
https://vitest.dev/config/#dangerouslyignoreunhandlederrors It will not fail the test, but it will still report the error. There is no way to hide the errors. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I want to know if it is possible to ignore all general type errors and unhandled rejection errors that Vitest report/complain about after running the tests. Currently my test is failing on gitlab pipeline because of these errors even though all tests pass.
The issue is I am migrating a huge code base with over 14000 test suites so it is not possible to resolve all these errors now so it will be helpful to at least get the migration done by muting/ignoring these errors for now and later attend to them.
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions