W3cubDocs

/Vitest

browser.screenshotFailures

  • Type: boolean
  • Default: !browser.ui

Should Vitest take screenshots if the test fails.

© 2021-Present VoidZero Inc. and Vitest contributors
Licensed under the MIT License.
https://vitest.dev/config/browser/screenshotfailures