Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added passWithNoTests to configuration #15284

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1129,6 +1129,12 @@ Default: `1000`

Print a warning indicating that there are probable open handles if Jest does not exit cleanly this number of milliseconds after it completes. Use `0` to disable the warning.

### `passWithNoTests` \[boolean]

Default: `false`

The equivalent of the [`--passWithNoTests`](CLI.md#--passwithnotests) flag allows the test suite to pass even when no test files are found.

### `preset` \[string]

Default: `undefined`
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-29.4/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,12 @@ Specifies notification mode. Requires `notify: true`.
- `success-change`: send a notification when tests pass or once when it fails.
- `failure-change`: send a notification when tests fail or once when it passes.

### `passWithNoTests` \[boolean]

Default: `false`

The equivalent of the [`--passWithNoTests`](CLI.md#--passwithnotests) flag allows the test suite to pass even when no test files are found.

### `preset` \[string]

Default: `undefined`
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-29.5/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,12 @@ Default: `1000`

Print a warning indicating that there are probable open handles if Jest does not exit cleanly this number of milliseconds after it completes. Use `0` to disable the warning.

### `passWithNoTests` \[boolean]

Default: `false`

The equivalent of the [`--passWithNoTests`](CLI.md#--passwithnotests) flag allows the test suite to pass even when no test files are found.

### `preset` \[string]

Default: `undefined`
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-29.6/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,12 @@ Default: `1000`

Print a warning indicating that there are probable open handles if Jest does not exit cleanly this number of milliseconds after it completes. Use `0` to disable the warning.

### `passWithNoTests` \[boolean]

Default: `false`

The equivalent of the [`--passWithNoTests`](CLI.md#--passwithnotests) flag allows the test suite to pass even when no test files are found.

### `preset` \[string]

Default: `undefined`
Expand Down
6 changes: 6 additions & 0 deletions website/versioned_docs/version-29.7/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,12 @@ Default: `1000`

Print a warning indicating that there are probable open handles if Jest does not exit cleanly this number of milliseconds after it completes. Use `0` to disable the warning.

### `passWithNoTests` \[boolean]

Default: `false`

The equivalent of the [`--passWithNoTests`](CLI.md#--passwithnotests) flag allows the test suite to pass even when no test files are found.

### `preset` \[string]

Default: `undefined`
Expand Down
Loading