Skip to content

Commit

Permalink
update description for seed option (#15266)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer authored Sep 26, 2024
1 parent 7afa881 commit 7b5e820
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ jest --seed=1324

If this option is not specified Jest will randomly generate the value. You can use the [`--showSeed`](#--showseed) flag to print the seed in the test report summary.

Jest uses the seed internally for shuffling the order in which test suites are run. If the [`--randomize`](#--randomize) option is used, the seed is also used for shuffling the order of tests within each `describe` block. When dealing with flaky tests, rerunning with the same seed might help reproduce the failure.

:::

### `--selectProjects <project1> ... <projectN>`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-29.4/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ jest --seed=1324

If this option is not specified Jest will randomly generate the value. You can use the [`--showSeed`](#--showseed) flag to print the seed in the test report summary.

Jest uses the seed internally for shuffling the order in which test suites are run. If the [`--randomize`](#--randomize) option is used, the seed is also used for shuffling the order of tests within each `describe` block. When dealing with flaky tests, rerunning with the same seed might help reproduce the failure.

:::

### `--selectProjects <project1> ... <projectN>`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-29.5/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ jest --seed=1324

If this option is not specified Jest will randomly generate the value. You can use the [`--showSeed`](#--showseed) flag to print the seed in the test report summary.

Jest uses the seed internally for shuffling the order in which test suites are run. If the [`--randomize`](#--randomize) option is used, the seed is also used for shuffling the order of tests within each `describe` block. When dealing with flaky tests, rerunning with the same seed might help reproduce the failure.

:::

### `--selectProjects <project1> ... <projectN>`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-29.6/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ jest --seed=1324

If this option is not specified Jest will randomly generate the value. You can use the [`--showSeed`](#--showseed) flag to print the seed in the test report summary.

Jest uses the seed internally for shuffling the order in which test suites are run. If the [`--randomize`](#--randomize) option is used, the seed is also used for shuffling the order of tests within each `describe` block. When dealing with flaky tests, rerunning with the same seed might help reproduce the failure.

:::

### `--selectProjects <project1> ... <projectN>`
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-29.7/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ jest --seed=1324

If this option is not specified Jest will randomly generate the value. You can use the [`--showSeed`](#--showseed) flag to print the seed in the test report summary.

Jest uses the seed internally for shuffling the order in which test suites are run. If the [`--randomize`](#--randomize) option is used, the seed is also used for shuffling the order of tests within each `describe` block. When dealing with flaky tests, rerunning with the same seed might help reproduce the failure.

:::

### `--selectProjects <project1> ... <projectN>`
Expand Down

0 comments on commit 7b5e820

Please sign in to comment.