Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mysteryven committed Jan 16, 2023
1 parent b25c477 commit c56a12c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,11 @@ Silent console output from tests

- **Type:** `string | string[]`

Path to setup files. They will be run before each test file. And they will be merged into [`forceRerunTriggers`](https://vitest.dev/config/#forcereruntriggers), all your tests will be rerun when setup files are changed.
Path to setup files. They will be run before each test file.

:::info
Changing setup files will trigger rerun of all user's 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`).

Expand Down

0 comments on commit c56a12c

Please sign in to comment.