Skip to content

Commit

Permalink
docs: correct oder to order (#5831)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickHeap2 authored Jun 3, 2024
1 parent a758157 commit e99451c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/cli-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
| `--shard <shards>` | Test suite shard to execute in a format of `<index>/<count>` |
| `--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 <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 <order>` | 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"`) |
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/node/cli/cli-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`)',
},
},
},
Expand Down

0 comments on commit e99451c

Please sign in to comment.