[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
vitest docs config browser trackunhandlederrors.md
495 B


title: browser.trackUnhandledErrors | Config outline: deep #

browser.trackUnhandledErrors #

  • Type: boolean
  • Default: true

Enables tracking uncaught errors and exceptions so they can be reported by Vitest.

If you need to hide certain errors, it is recommended to use onUnhandledError option instead.

Disabling this will completely remove all Vitest error handlers, which can help debugging with the "Pause on exceptions" checkbox turned on.