Skip to content

Commit 2aab607

Browse files
committed
Release v7.2.0
1 parent d525345 commit 2aab607

File tree

4 files changed

+24
-21
lines changed

4 files changed

+24
-21
lines changed

AUTHORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,5 +488,8 @@ Zirak <[email protected]>
488488
Christian Holm <[email protected]>
489489
Kai Cataldo <[email protected]>
490490
Gil Tayar <[email protected]>
491+
Arvid Ottenberg <[email protected]>
492+
Daniel0113 <[email protected]>
493+
Nico Jansen <[email protected]>
491494

492495
# Generated by scripts/update-authors.js

CHANGELOG.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22

33
## :tada: Enhancements
44

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))
7+
- [#4244](https://github.com/mochajs/mocha/issues/4244): Add Root Hook Plugins ([**@boneskull**](https://github.com/boneskull))
88

99
## :bug: Fixes
1010

11-
- #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))
1717

1818
## :book: Documentation
1919

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))
2424

2525
## :nut_and_bolt: Other
2626

27-
- #4249: Refactoring improving encapsulation (@arvidOtt)
28-
- #4242: CI add job names, add Node.js v14 to matrix (@boneskull)
29-
- #4237: Refactor validatePlugins to throw coded errors (@boneskull)
30-
- #4236: Better debug output (@boneskull)
27+
- [#4249](https://github.com/mochajs/mocha/issues/4249): Refactoring improving encapsulation ([**@arvidOtt**](https://github.com/arvidOtt))
28+
- [#4242](https://github.com/mochajs/mocha/issues/4242): CI add job names, add Node.js v14 to matrix ([**@boneskull**](https://github.com/boneskull))
29+
- [#4237](https://github.com/mochajs/mocha/issues/4237): Refactor validatePlugins to throw coded errors ([**@boneskull**](https://github.com/boneskull))
30+
- [#4236](https://github.com/mochajs/mocha/issues/4236): Better debug output ([**@boneskull**](https://github.com/boneskull))
3131

3232
# 7.1.2 / 2020-04-26
3333

@@ -577,7 +577,7 @@ This release fixes a class of tests which report as _false positives_. **Certain
577577

578578
- [#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:
579579

580-
\```js
580+
\`\`\`js
581581
it('should actually fail, sorry!', function (done) {
582582
// passing assertion
583583
assert(true === true);
@@ -590,7 +590,7 @@ This release fixes a class of tests which report as _false positives_. **Certain
590590
throw new Error('chaos!');
591591
}, 100);
592592
});
593-
\```
593+
\`\`\`
594594

595595
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.
596596

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mocha",
3-
"version": "7.1.2",
3+
"version": "7.2.0",
44
"description": "simple, flexible, fun test framework",
55
"keywords": [
66
"mocha",

0 commit comments

Comments
 (0)