diff --git a/CHANGELOG.md b/CHANGELOG.md index 1471765b0fd8..d14b32ae79f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - `[docs]` Add custom toMatchSnapshot matcher docs ([#6837](https://github.com/facebook/jest/pull/6837)) - `[docs]` Improve the documentation regarding preset configuration ([#6864](https://github.com/facebook/jest/issues/6864)) - `[docs]` Clarify usage of `--projects` CLI option ([#6872](https://github.com/facebook/jest/pull/6872)) +- `[docs]` Correct `failure-change` notification mode ([#6878](https://github.com/facebook/jest/pull/6878)) ## 23.5.0 diff --git a/docs/Configuration.md b/docs/Configuration.md index 07adbcb4a016..278921c06723 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -404,7 +404,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string] diff --git a/website/versioned_docs/version-22.2/Configuration.md b/website/versioned_docs/version-22.2/Configuration.md index 8617ae3bd449..7262e53505e3 100644 --- a/website/versioned_docs/version-22.2/Configuration.md +++ b/website/versioned_docs/version-22.2/Configuration.md @@ -345,7 +345,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string] diff --git a/website/versioned_docs/version-22.3/Configuration.md b/website/versioned_docs/version-22.3/Configuration.md index fcfc724f600e..c8db64b53a04 100644 --- a/website/versioned_docs/version-22.3/Configuration.md +++ b/website/versioned_docs/version-22.3/Configuration.md @@ -330,7 +330,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string] diff --git a/website/versioned_docs/version-22.4/Configuration.md b/website/versioned_docs/version-22.4/Configuration.md index fbd90babc64f..33d0e0de6a9a 100644 --- a/website/versioned_docs/version-22.4/Configuration.md +++ b/website/versioned_docs/version-22.4/Configuration.md @@ -361,7 +361,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string] diff --git a/website/versioned_docs/version-23.0/Configuration.md b/website/versioned_docs/version-23.0/Configuration.md index d8030d50b0f4..6337438eef19 100644 --- a/website/versioned_docs/version-23.0/Configuration.md +++ b/website/versioned_docs/version-23.0/Configuration.md @@ -381,7 +381,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string] diff --git a/website/versioned_docs/version-23.1/Configuration.md b/website/versioned_docs/version-23.1/Configuration.md index f165873776d6..75750c58ea40 100644 --- a/website/versioned_docs/version-23.1/Configuration.md +++ b/website/versioned_docs/version-23.1/Configuration.md @@ -381,7 +381,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string] diff --git a/website/versioned_docs/version-23.2/Configuration.md b/website/versioned_docs/version-23.2/Configuration.md index e5d4ad3bbced..e65d40559511 100644 --- a/website/versioned_docs/version-23.2/Configuration.md +++ b/website/versioned_docs/version-23.2/Configuration.md @@ -387,7 +387,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string] diff --git a/website/versioned_docs/version-23.3/Configuration.md b/website/versioned_docs/version-23.3/Configuration.md index 38245c0864a5..ed34d1b3cc0b 100644 --- a/website/versioned_docs/version-23.3/Configuration.md +++ b/website/versioned_docs/version-23.3/Configuration.md @@ -387,7 +387,7 @@ Specifies notification mode. Requires `notify: true`. - `success`: send a notification when tests pass. - `change`: send a notification when the status changed. - `success-change`: send a notification when tests pass or once when it fails. -- `failure-success`: send a notification when tests fails or once when it passes. +- `failure-change`: send a notification when tests fails or once when it passes. ### `preset` [string]