You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/versioned_docs/version-29.4/CLI.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,10 @@ Activates notifications for test results. Good for when you don't want your cons
292
292
293
293
Alias: `-o`. Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git/hg repository at the moment and requires a static dependency graph (ie. no dynamic requires).
294
294
295
+
### `--onlyFailures`
296
+
297
+
Alias: `-f`. Run tests that failed in the previous execution.
298
+
295
299
### `--outputFile=<filename>`
296
300
297
301
Write test results to a file when the `--json` option is also specified. The returned JSON structure is documented in [testResultsProcessor](Configuration.md#testresultsprocessor-string).
Copy file name to clipboardExpand all lines: website/versioned_docs/version-29.5/CLI.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,10 @@ Activates notifications for test results. Good for when you don't want your cons
292
292
293
293
Alias: `-o`. Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git/hg repository at the moment and requires a static dependency graph (ie. no dynamic requires).
294
294
295
+
### `--onlyFailures`
296
+
297
+
Alias: `-f`. Run tests that failed in the previous execution.
298
+
295
299
### `--openHandlesTimeout=<milliseconds>`
296
300
297
301
When `--detectOpenHandles` and `--forceExit` are _disabled_, Jest will print a warning if the process has not exited cleanly after this number of milliseconds. A value of `0` disables the warning. Defaults to `1000`.
Copy file name to clipboardExpand all lines: website/versioned_docs/version-29.6/CLI.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,10 @@ Activates notifications for test results. Good for when you don't want your cons
292
292
293
293
Alias: `-o`. Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git/hg repository at the moment and requires a static dependency graph (ie. no dynamic requires).
294
294
295
+
### `--onlyFailures`
296
+
297
+
Alias: `-f`. Run tests that failed in the previous execution.
298
+
295
299
### `--openHandlesTimeout=<milliseconds>`
296
300
297
301
When `--detectOpenHandles` and `--forceExit` are _disabled_, Jest will print a warning if the process has not exited cleanly after this number of milliseconds. A value of `0` disables the warning. Defaults to `1000`.
Copy file name to clipboardExpand all lines: website/versioned_docs/version-29.7/CLI.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,10 @@ Activates notifications for test results. Good for when you don't want your cons
292
292
293
293
Alias: `-o`. Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git/hg repository at the moment and requires a static dependency graph (ie. no dynamic requires).
294
294
295
+
### `--onlyFailures`
296
+
297
+
Alias: `-f`. Run tests that failed in the previous execution.
298
+
295
299
### `--openHandlesTimeout=<milliseconds>`
296
300
297
301
When `--detectOpenHandles` and `--forceExit` are _disabled_, Jest will print a warning if the process has not exited cleanly after this number of milliseconds. A value of `0` disables the warning. Defaults to `1000`.
0 commit comments