diff --git a/CHANGELOG.md b/CHANGELOG.md index d01b9c79d3..2ae91e3962 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 10.7.0 / 2024-07-20 + +### :tada: Enhancements + +- [#4771](https://github.com/mochajs/mocha/pull/4771) feat: add option to not fail on failing test suite ([**@ilgonmic**](https://github.com/ilgonmic)) + ## 10.6.1 / 2024-07-20 ### :bug: Fixes diff --git a/docs/index.md b/docs/index.md index cbd22d2d48..d63d3d0cfe 100644 --- a/docs/index.md +++ b/docs/index.md @@ -917,11 +917,15 @@ To ensure your tests aren't leaving messes around, here are some ideas to get st ### `--pass-on-failing-test-suite` +> _New in v10.7.0_ + If set to `true`, Mocha returns exit code `0` even if there are failed tests during run. ### `--fail-zero` -> _New in v9.1.0_ Fail test run if no tests are encountered with `exit-code: 1`. +> _New in v9.1.0_ + +Fail test run if no tests are encountered with `exit-code: 1`. ### `--forbid-only`