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
{{ message }}
Repository navigation
Commit 00a895f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@
4
4
5
5
Two more regressions fixed:
6
6
7
-
-#3768: Test file paths no longer dropped from `mocha.opts` (@boneskull)
8
-
-#3767:`--require` does not break on module names that look like certain `node` flags (@boneskull)
7
+
-[#3768](https://github.com/mochajs/mocha/issues/3768): Test file paths no longer dropped from `mocha.opts` ([**@boneskull**](https://github.com/boneskull))
8
+
-[#3767](https://github.com/mochajs/mocha/issues/3767):`--require` does not break on module names that look like certain `node` flags ([**@boneskull**](https://github.com/boneskull))
9
9
10
10
# 6.0.1 / 2019-02-21
11
11
@@ -675,8 +675,11 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
675
675
## :boom: Breaking Changes
676
676
677
677
-:warning: Due to the increasing difficulty of applying security patches made within its dependency tree, as well as looming incompatibilities with Node.js v7.0, **Mocha no longer supports Node.js v0.8**.
678
+
678
679
-:warning:**Mocha may no longer be installed by versions of `npm` less than `1.4.0`.** Previously, this requirement only affected Mocha's development dependencies. In short, this allows Mocha to depend on packages which have dependencies fixed to major versions (`^`).
680
+
679
681
-`.only()` is no longer "fuzzy", can be used multiple times, and generally just works like you think it should. :joy:
682
+
680
683
- To avoid common bugs, when a test injects a callback function (suggesting asynchronous execution), calls it, _and_ returns a `Promise`, Mocha will now throw an exception:
681
684
682
685
\```js
@@ -694,9 +697,13 @@ Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
694
697
The above test will fail with `Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.`.
695
698
696
699
- When a test timeout value _greater than_`2147483648` is specified in any context (`--timeout`, `mocha.setup()`, per-suite, per-test, etc.), the timeout will be _disabled_ and the test(s) will be allowed to run indefinitely. This is equivalent to specifying a timeout value of `0`. See [MDN](https://developer.mozilla.org/docs/Web/API/WindowTimers/setTimeout#Maximum_delay_value) for reasoning.
700
+
697
701
- The `dot` reporter now uses more visually distinctive characters when indicating "pending" and "failed" tests.
702
+
698
703
- Mocha no longer supports [component](https://www.npmjs.com/package/component).
704
+
699
705
- The long-forsaken `HTMLCov` and `JSONCov` reporters--and any relationship to the "node-jscoverage" project--have been removed.
706
+
700
707
-`spec` reporter now omits leading carriage returns (`\r`) in non-TTY environment.
0 commit comments