Skip to content

Commit

Permalink
chore: remove segfaultRetry from config options as it doesn't have an…
Browse files Browse the repository at this point in the history
…y effect anymore
  • Loading branch information
sheremet-va committed May 15, 2024
1 parent 6598fba commit 3270663
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion docs/guide/cli-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
| `--teardownTimeout <timeout>` | Default timeout of a teardown function in milliseconds (default: `10000`) |
| `--maxConcurrency <number>` | Maximum number of concurrent tests in a suite (default: `5`) |
| `--run` | Disable watch mode |
| `--segfaultRetry <times>` | Retry the test suite if it crashes due to a segfault (default: `true`) |
| `--no-color` | Removes colors from the console output |
| `--clearScreen` | Clear terminal screen when re-running tests during watch mode (default: `true`) |
| `--standalone` | Start Vitest without running tests. File filters will be ignored, tests will be running only on change (default: `false`) |
Expand Down
4 changes: 0 additions & 4 deletions packages/vitest/src/node/cli/cli-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ export interface CliOptions extends UserConfig {
* Override the watch mode
*/
run?: boolean
/**
* Retry the test suite if it crashes due to a segfault (default: true)
*/
segfaultRetry?: number
/**
* Removes colors from the console output
*/
Expand Down
5 changes: 0 additions & 5 deletions packages/vitest/src/node/cli/cli-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,11 +592,6 @@ export const cliOptionsConfig: VitestCLIOptions = {
run: {
description: 'Disable watch mode',
},
segfaultRetry: {
description: 'Retry the test suite if it crashes due to a segfault (default: `true`)',
argument: '<times>',
default: 0,
},
color: {
description: 'Removes colors from the console output',
alias: 'no-color',
Expand Down

0 comments on commit 3270663

Please sign in to comment.