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: CHANGELOG.md
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -2,32 +2,32 @@
2
2
3
3
## :tada: Enhancements
4
4
5
-
-#4234: Add ability to run tests in a mocha instance multiple times (@nicojs)
6
-
-#4219: Exposing filename in JSON, doc, and json-stream reporters (@Daniel0113)
7
-
-#4244: Add Root Hook Plugins (@boneskull)
5
+
-[#4234](https://github.com/mochajs/mocha/issues/4234): Add ability to run tests in a mocha instance multiple times ([**@nicojs**](https://github.com/nicojs))
6
+
-[#4219](https://github.com/mochajs/mocha/issues/4219): Exposing filename in JSON, doc, and json-stream reporters ([**@Daniel0113**](https://github.com/Daniel0113))
-#4258: Fix missing dot in name of configuration file (@sonicdoe)
12
-
-#4194: Check if module.paths really exists (@ematipico)
13
-
-#4256:`--forbid-only` does not recognize `it.only` when `before` crashes (@arvidOtt)
14
-
-#4152: Bug with multiple async done() calls (@boneskull)
15
-
-#4275: Improper warnings for invalid reporters (@boneskull)
16
-
-#4288: Broken hook.spec.js test for IE11 (@boneskull)
11
+
-[#4258](https://github.com/mochajs/mocha/issues/4258): Fix missing dot in name of configuration file ([**@sonicdoe**](https://github.com/sonicdoe))
12
+
-[#4194](https://github.com/mochajs/mocha/issues/4194): Check if module.paths really exists ([**@ematipico**](https://github.com/ematipico))
13
+
-[#4256](https://github.com/mochajs/mocha/issues/4256):`--forbid-only` does not recognize `it.only` when `before` crashes ([**@arvidOtt**](https://github.com/arvidOtt))
14
+
-[#4152](https://github.com/mochajs/mocha/issues/4152): Bug with multiple async done() calls ([**@boneskull**](https://github.com/boneskull))
15
+
-[#4275](https://github.com/mochajs/mocha/issues/4275): Improper warnings for invalid reporters ([**@boneskull**](https://github.com/boneskull))
16
+
-[#4288](https://github.com/mochajs/mocha/issues/4288): Broken hook.spec.js test for IE11 ([**@boneskull**](https://github.com/boneskull))
17
17
18
18
## :book: Documentation
19
19
20
-
-#4081: Insufficient white space for API docs in view on mobile (@HyunSangHan)
21
-
-#4255: Update mocha-docdash for UI fixes on API docs (@craigtaub)
22
-
-#4235: Enable emoji on website; enable normal ul elements (@boneskull)
23
-
-#4272: Fetch sponsors at build time, show ALL non-skeevy sponsors (@boneskull)
20
+
-[#4081](https://github.com/mochajs/mocha/issues/4081): Insufficient white space for API docs in view on mobile ([**@HyunSangHan**](https://github.com/HyunSangHan))
21
+
-[#4255](https://github.com/mochajs/mocha/issues/4255): Update mocha-docdash for UI fixes on API docs ([**@craigtaub**](https://github.com/craigtaub))
22
+
-[#4235](https://github.com/mochajs/mocha/issues/4235): Enable emoji on website; enable normal ul elements ([**@boneskull**](https://github.com/boneskull))
23
+
-[#4272](https://github.com/mochajs/mocha/issues/4272): Fetch sponsors at build time, show ALL non-skeevy sponsors ([**@boneskull**](https://github.com/boneskull))
@@ -577,7 +577,7 @@ This release fixes a class of tests which report as _false positives_. **Certain
577
577
578
578
-[#3226](https://github.com/mochajs/mocha/issues/3226): Do not swallow errors that are thrown asynchronously from passing tests ([@boneskull](https://github.com/boneskull)). Example:
579
579
580
-
\```js
580
+
\`\`\`js
581
581
it('should actually fail, sorry!', function (done) {
582
582
// passing assertion
583
583
assert(true === true);
@@ -590,7 +590,7 @@ This release fixes a class of tests which report as _false positives_. **Certain
590
590
throw new Error('chaos!');
591
591
}, 100);
592
592
});
593
-
\```
593
+
\`\`\`
594
594
595
595
Previously to this version, Mocha would have _silently swallowed_ the `chaos!` exception, and you wouldn't know. Well, _now you know_. Mocha cannot recover from this gracefully, so it will exit with a nonzero code.
0 commit comments