Skip to content

Commit b779bca

Browse files
committed
docs: add --static-parse to docs
1 parent 7a8e7fc commit b779bca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guide/cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ tests/test1.test.ts
121121
tests/test2.test.ts
122122
```
123123

124+
Since Vitest 4.1, you may pass `--static-parse` to [parse test files](/api/advanced/vitest#parsespecifications) instead of running them to collect tests. Vitest parses test files with limited concurrency, defaulting to `os.availableParallelism()`. You can change it via the `--static-parse-concurrency` option.
125+
124126
## Shell Autocompletions
125127

126128
Vitest provides shell autocompletions for commands, options, and option values powered by [`@bomb.sh/tab`](https://github.com/bombshell-dev/tab).

0 commit comments

Comments
 (0)