W3cubDocs

/Vitest

silent

  • Type: boolean | 'passed-only'
  • Default: false
  • CLI: --silent, --silent=false

Silent console output from tests.

Use 'passed-only' to see logs from failing tests only. Logs from failing tests are printed after a test has finished.

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