diff --git a/docs/config/index.md b/docs/config/index.md index 31cadf6c7ccc..a2850705c67f 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -603,7 +603,7 @@ Sharding is happening before sorting, and only if `--shard` option is provided. - **Type**: `boolean` - **Default**: `false` -If you want tests to run randomly, you can enable it with this option, or CLI argument [`--shuffle`](/guide/cli). +If you want tests to run randomly, you can enable it with this option, or CLI argument [`--sequence.shuffle`](/guide/cli). Vitest usually uses cache to sort tests, so long running tests start earlier - this makes tests run faster. If your tests will run in random order you will lose this performance improvement, but it may be useful to track tests that accidentally depend on another run previously.