diff --git a/config/index.md b/config/index.md index a61b5f51..96cbad00 100644 --- a/config/index.md +++ b/config/index.md @@ -491,6 +491,10 @@ Silent console output from tests Path to setup files. They will be run before each test file. +:::info +Changing setup files will trigger rerun of all tests. +::: + You can use `process.env.VITEST_POOL_ID` (integer-like string) inside to distinguish between threads (will always be `'1'`, if run with `threads: false`). :::tip