W3cubDocs

/Vitest

dir

  • Type: string
  • CLI: --dir=<path>
  • Default: same as root

Base directory to scan for the test files. You can specify this option to speed up test discovery if your root covers the whole project

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