From e99451cf49a548066f463af3f7653b79c50c662a Mon Sep 17 00:00:00 2001 From: Nick Heap <42422453+NickHeap2@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:20:13 +0100 Subject: [PATCH] docs: correct oder to order (#5831) --- docs/guide/cli-table.md | 2 +- packages/vitest/src/node/cli/cli-config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/cli-table.md b/docs/guide/cli-table.md index bf0e92e9151a..a113b31dd705 100644 --- a/docs/guide/cli-table.md +++ b/docs/guide/cli-table.md @@ -89,7 +89,7 @@ | `--shard ` | Test suite shard to execute in a format of `/` | | `--changed [since]` | Run tests that are affected by the changed files (default: `false`) | | `--sequence.shuffle.files` | Run files in a random order. Long running tests will not start earlier if you enable this option. (default: `false`) | -| `--sequence.shuffle.tests` | Run tests in a random oder (default: `false`) | +| `--sequence.shuffle.tests` | Run tests in a random order (default: `false`) | | `--sequence.concurrent` | Make tests run in parallel (default: `false`) | | `--sequence.seed ` | Set the randomization seed. This option will have no effect if --sequence.shuffle is falsy. Visit ["Random Seed" page](https://en.wikipedia.org/wiki/Random_seed) for more information | | `--sequence.hooks ` | Changes the order in which hooks are executed. Accepted values are: "stack", "list" and "parallel". Visit [`sequence.hooks`](https://vitest.dev/config/#sequence-hooks) for more information (default: `"parallel"`) | diff --git a/packages/vitest/src/node/cli/cli-config.ts b/packages/vitest/src/node/cli/cli-config.ts index 63ab4753a020..4e3ce7a73bd5 100644 --- a/packages/vitest/src/node/cli/cli-config.ts +++ b/packages/vitest/src/node/cli/cli-config.ts @@ -446,7 +446,7 @@ export const cliOptionsConfig: VitestCLIOptions = { description: 'Run files in a random order. Long running tests will not start earlier if you enable this option. (default: `false`)', }, tests: { - description: 'Run tests in a random oder (default: `false`)', + description: 'Run tests in a random order (default: `false`)', }, }, },