Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Release v7.2.0

Craig Taub283b11ea1fef
diff --git a/AUTHORS b/AUTHORS
index 32628308..88abaa8b 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -488,5 +488,8 @@ Zirak <[email protected]>
Christian Holm <[email protected]>
Kai Cataldo <[email protected]>
Gil Tayar <[email protected]>
+Arvid Ottenberg <[email protected]>
+Daniel0113 <[email protected]>
+Nico Jansen <[email protected]>
# Generated by scripts/update-authors.js
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5eac39f..44c1a3e2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,32 +2,32 @@
## :tada: Enhancements
-- #4234: Add ability to run tests in a mocha instance multiple times (@nicojs)
-- #4219: Exposing filename in JSON, doc, and json-stream reporters (@Daniel0113)
-- #4244: Add Root Hook Plugins (@boneskull)
+- [#4234](https://github.com/mochajs/mocha/issues/4234): Add ability to run tests in a mocha instance multiple times ([**@nicojs**](https://github.com/nicojs))
+- [#4219](https://github.com/mochajs/mocha/issues/4219): Exposing filename in JSON, doc, and json-stream reporters ([**@Daniel0113**](https://github.com/Daniel0113))
+- [#4244](https://github.com/mochajs/mocha/issues/4244): Add Root Hook Plugins ([**@boneskull**](https://github.com/boneskull))
## :bug: Fixes
-- #4258: Fix missing dot in name of configuration file (@sonicdoe)
-- #4194: Check if module.paths really exists (@ematipico)
-- #4256: `--forbid-only` does not recognize `it.only` when `before` crashes (@arvidOtt)
-- #4152: Bug with multiple async done() calls (@boneskull)
-- #4275: Improper warnings for invalid reporters (@boneskull)
-- #4288: Broken hook.spec.js test for IE11 (@boneskull)
+- [#4258](https://github.com/mochajs/mocha/issues/4258): Fix missing dot in name of configuration file ([**@sonicdoe**](https://github.com/sonicdoe))
+- [#4194](https://github.com/mochajs/mocha/issues/4194): Check if module.paths really exists ([**@ematipico**](https://github.com/ematipico))
+- [#4256](https://github.com/mochajs/mocha/issues/4256): `--forbid-only` does not recognize `it.only` when `before` crashes ([**@arvidOtt**](https://github.com/arvidOtt))
+- [#4152](https://github.com/mochajs/mocha/issues/4152): Bug with multiple async done() calls ([**@boneskull**](https://github.com/boneskull))
+- [#4275](https://github.com/mochajs/mocha/issues/4275): Improper warnings for invalid reporters ([**@boneskull**](https://github.com/boneskull))
+- [#4288](https://github.com/mochajs/mocha/issues/4288): Broken hook.spec.js test for IE11 ([**@boneskull**](https://github.com/boneskull))
## :book: Documentation
-- #4081: Insufficient white space for API docs in view on mobile (@HyunSangHan)
-- #4255: Update mocha-docdash for UI fixes on API docs (@craigtaub)
-- #4235: Enable emoji on website; enable normal ul elements (@boneskull)
-- #4272: Fetch sponsors at build time, show ALL non-skeevy sponsors (@boneskull)
+- [#4081](https://github.com/mochajs/mocha/issues/4081): Insufficient white space for API docs in view on mobile ([**@HyunSangHan**](https://github.com/HyunSangHan))
+- [#4255](https://github.com/mochajs/mocha/issues/4255): Update mocha-docdash for UI fixes on API docs ([**@craigtaub**](https://github.com/craigtaub))
+- [#4235](https://github.com/mochajs/mocha/issues/4235): Enable emoji on website; enable normal ul elements ([**@boneskull**](https://github.com/boneskull))
+- [#4272](https://github.com/mochajs/mocha/issues/4272): Fetch sponsors at build time, show ALL non-skeevy sponsors ([**@boneskull**](https://github.com/boneskull))
## :nut_and_bolt: Other
-- #4249: Refactoring improving encapsulation (@arvidOtt)
-- #4242: CI add job names, add Node.js v14 to matrix (@boneskull)
-- #4237: Refactor validatePlugins to throw coded errors (@boneskull)
-- #4236: Better debug output (@boneskull)
+- [#4249](https://github.com/mochajs/mocha/issues/4249): Refactoring improving encapsulation ([**@arvidOtt**](https://github.com/arvidOtt))
+- [#4242](https://github.com/mochajs/mocha/issues/4242): CI add job names, add Node.js v14 to matrix ([**@boneskull**](https://github.com/boneskull))
+- [#4237](https://github.com/mochajs/mocha/issues/4237): Refactor validatePlugins to throw coded errors ([**@boneskull**](https://github.com/boneskull))
+- [#4236](https://github.com/mochajs/mocha/issues/4236): Better debug output ([**@boneskull**](https://github.com/boneskull))
# 7.1.2 / 2020-04-26
@@ -583,7 +583,7 @@ This release fixes a class of tests which report as _false positives_. **Certain
- [#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:
- \```js
+ \`\`\`js
it('should actually fail, sorry!', function (done) {
// passing assertion
assert(true === true);
@@ -596,7 +596,7 @@ This release fixes a class of tests which report as _false positives_. **Certain
throw new Error('chaos!');
}, 100);
});
- \```
+ \`\`\`
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.
diff --git a/package-lock.json b/package-lock.json
index 13728b7a..78be92c1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "mocha",
- "version": "7.1.0",
+ "version": "7.2.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index f59ddc8d..63d6f02c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mocha",
- "version": "7.1.0",
+ "version": "7.2.0",
"description": "simple, flexible, fun test framework",
"keywords": [
"mocha",