From 8cade607cbe148a8bc4e7c7d2c5eb09a00e3ff10 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Wed, 6 Jul 2022 12:57:45 +0300 Subject: [PATCH] Update docs/config/index.md Co-authored-by: Anthony Fu --- docs/config/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.