mocha 9.1.1 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/browser-entry.js +27 -20
- package/lib/browser/growl.js +5 -5
- package/lib/browser/parse-query.js +1 -1
- package/lib/browser/progress.js +6 -6
- package/lib/cli/one-and-dones.js +1 -2
- package/lib/cli/run-helpers.js +1 -1
- package/lib/cli/run.js +1 -1
- package/lib/cli/watch-run.js +3 -6
- package/lib/context.js +5 -5
- package/lib/errors.js +1 -1
- package/lib/hook.js +2 -2
- package/lib/interfaces/bdd.js +23 -20
- package/lib/interfaces/common.js +7 -7
- package/lib/interfaces/exports.js +1 -1
- package/lib/interfaces/qunit.js +7 -7
- package/lib/interfaces/tdd.js +9 -9
- package/lib/mocha.js +57 -67
- package/lib/nodejs/buffered-worker-pool.js +17 -1
- package/lib/{esm-utils.js → nodejs/esm-utils.js} +18 -3
- package/lib/reporters/base.js +18 -21
- package/lib/reporters/doc.js +4 -4
- package/lib/reporters/dot.js +5 -5
- package/lib/reporters/html.js +12 -12
- package/lib/reporters/json-stream.js +4 -4
- package/lib/reporters/json.js +7 -7
- package/lib/reporters/landing.js +5 -5
- package/lib/reporters/list.js +5 -5
- package/lib/reporters/markdown.js +5 -5
- package/lib/reporters/min.js +1 -1
- package/lib/reporters/nyan.js +16 -16
- package/lib/reporters/progress.js +3 -3
- package/lib/reporters/spec.js +6 -6
- package/lib/reporters/tap.js +17 -17
- package/lib/reporters/xunit.js +9 -9
- package/lib/runnable.js +21 -21
- package/lib/runner.js +44 -47
- package/lib/stats-collector.js +7 -7
- package/lib/suite.js +44 -73
- package/lib/test.js +4 -4
- package/lib/utils.js +19 -46
- package/mocha-es2018.js +435 -492
- package/mocha.js +1545 -1050
- package/mocha.js.map +1 -1
- package/package.json +50 -52
- package/CHANGELOG.md +0 -1004
package/CHANGELOG.md
DELETED
|
@@ -1,1004 +0,0 @@
|
|
|
1
|
-
# 9.1.1 / 2021-08-28
|
|
2
|
-
|
|
3
|
-
## :bug: Fixes
|
|
4
|
-
|
|
5
|
-
- [#4623](https://github.com/mochajs/mocha/issues/4623): `XUNIT` and `JSON` reporter crash in `parallel` mode ([**@curtisman**](https://github.com/curtisman))
|
|
6
|
-
|
|
7
|
-
# 9.1.0 / 2021-08-20
|
|
8
|
-
|
|
9
|
-
## :tada: Enhancements
|
|
10
|
-
|
|
11
|
-
- [#4716](https://github.com/mochajs/mocha/issues/4716): Add new option `--fail-zero` ([**@juergba**](https://github.com/juergba))
|
|
12
|
-
- [#4691](https://github.com/mochajs/mocha/issues/4691): Add new option `--node-option` ([**@juergba**](https://github.com/juergba))
|
|
13
|
-
- [#4607](https://github.com/mochajs/mocha/issues/4607): Add output option to `JSON` reporter ([**@dorny**](https://github.com/dorny))
|
|
14
|
-
|
|
15
|
-
# 9.0.3 / 2021-07-25
|
|
16
|
-
|
|
17
|
-
## :bug: Fixes
|
|
18
|
-
|
|
19
|
-
- [#4702](https://github.com/mochajs/mocha/issues/4702): Error rethrow from cwd-relative path while loading `.mocharc.js` ([**@kirill-golovan**](https://github.com/kirill-golovan))
|
|
20
|
-
|
|
21
|
-
- [#4688](https://github.com/mochajs/mocha/issues/4688): Usage of custom interface in parallel mode ([**@juergba**](https://github.com/juergba))
|
|
22
|
-
|
|
23
|
-
- [#4687](https://github.com/mochajs/mocha/issues/4687): ESM: don't swallow `MODULE_NOT_FOUND` errors in case of `type:module` ([**@giltayar**](https://github.com/giltayar))
|
|
24
|
-
|
|
25
|
-
# 9.0.2 / 2021-07-03
|
|
26
|
-
|
|
27
|
-
## :bug: Fixes
|
|
28
|
-
|
|
29
|
-
- [#4668](https://github.com/mochajs/mocha/issues/4668): ESM: make `--require <dir>` work with new `import`-first loading ([**@giltayar**](https://github.com/giltayar))
|
|
30
|
-
|
|
31
|
-
## :nut_and_bolt: Other
|
|
32
|
-
|
|
33
|
-
- [#4674](https://github.com/mochajs/mocha/issues/4674): Update production dependencies ([**@juergba**](https://github.com/juergba))
|
|
34
|
-
|
|
35
|
-
# 9.0.1 / 2021-06-18
|
|
36
|
-
|
|
37
|
-
## :nut_and_bolt: Other
|
|
38
|
-
|
|
39
|
-
- [#4657](https://github.com/mochajs/mocha/issues/4657): Browser: add separate bundle for modern browsers ([**@juergba**](https://github.com/juergba))
|
|
40
|
-
|
|
41
|
-
We added a separate browser bundle `mocha-es2018.js` in javascript ES2018, as we skipped the transpilation down to ES5. This is an **experimental step towards freezing Mocha's support of IE11**.
|
|
42
|
-
|
|
43
|
-
- [#4653](https://github.com/mochajs/mocha/issues/4653): ESM: proper version check in `hasStableEsmImplementation` ([**@alexander-fenster**](https://github.com/alexander-fenster))
|
|
44
|
-
|
|
45
|
-
# 9.0.0 / 2021-06-07
|
|
46
|
-
|
|
47
|
-
## :boom: Breaking Changes
|
|
48
|
-
|
|
49
|
-
- [#4633](https://github.com/mochajs/mocha/issues/4633): **Drop Node.js v10.x support** ([**@juergba**](https://github.com/juergba))
|
|
50
|
-
|
|
51
|
-
- [#4635](https://github.com/mochajs/mocha/issues/4635): `import`-first loading of test files ([**@giltayar**](https://github.com/giltayar))
|
|
52
|
-
|
|
53
|
-
**Mocha is going ESM-first!** This means that it will now use ESM `import(test_file)` to load the test files, instead of the CommonJS `require(test_file)`. This is not a problem, as `import` can also load most files that `require` does. In the rare cases where this fails, it will fallback to `require(...)`. This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.
|
|
54
|
-
|
|
55
|
-
- [#4636](https://github.com/mochajs/mocha/issues/4636): Remove deprecated `utils.lookupFiles()` ([**@juergba**](https://github.com/juergba))
|
|
56
|
-
|
|
57
|
-
- [#4638](https://github.com/mochajs/mocha/issues/4638): Limit the size of `actual`/`expected` for `diff` generation ([**@juergba**](https://github.com/juergba))
|
|
58
|
-
|
|
59
|
-
- [#4389](https://github.com/mochajs/mocha/issues/4389): Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base ([**@MoonSupport**](https://github.com/MoonSupport))
|
|
60
|
-
|
|
61
|
-
## :tada: Enhancements
|
|
62
|
-
|
|
63
|
-
- [#4640](https://github.com/mochajs/mocha/issues/4640): Add new option `--dry-run` ([**@juergba**](https://github.com/juergba))
|
|
64
|
-
|
|
65
|
-
## :bug: Fixes
|
|
66
|
-
|
|
67
|
-
- [#4128](https://github.com/mochajs/mocha/issues/4128): Fix: control stringification of error message ([**@syeutyu**](https://github.com/syeutyu))
|
|
68
|
-
|
|
69
|
-
## :nut_and_bolt: Other
|
|
70
|
-
|
|
71
|
-
- [#4646](https://github.com/mochajs/mocha/issues/4646): Deprecate `Runner(suite: Suite, delay: boolean)` signature ([**@juergba**](https://github.com/juergba))
|
|
72
|
-
- [#4643](https://github.com/mochajs/mocha/issues/4643): Update production dependencies ([**@juergba**](https://github.com/juergba))
|
|
73
|
-
|
|
74
|
-
# 8.4.0 / 2021-05-07
|
|
75
|
-
|
|
76
|
-
## :tada: Enhancements
|
|
77
|
-
|
|
78
|
-
- [#4502](https://github.com/mochajs/mocha/issues/4502): CLI file parsing errors now have error codes ([**@evaline-ju**](https://github.com/evaline-ju))
|
|
79
|
-
|
|
80
|
-
## :bug: Fixes
|
|
81
|
-
|
|
82
|
-
- [#4614](https://github.com/mochajs/mocha/issues/4614): Watch: fix crash when reloading files ([**@outsideris**](https://github.com/outsideris))
|
|
83
|
-
|
|
84
|
-
## :book: Documentation
|
|
85
|
-
|
|
86
|
-
- [#4630](https://github.com/mochajs/mocha/issues/4630): Add `options.require` to Mocha constructor for `root hook` plugins on parallel runs ([**@juergba**](https://github.com/juergba))
|
|
87
|
-
- [#4617](https://github.com/mochajs/mocha/issues/4617): Dynamically generating tests with `top-level await` and ESM test files ([**@juergba**](https://github.com/juergba))
|
|
88
|
-
- [#4608](https://github.com/mochajs/mocha/issues/4608): Update default file extensions ([**@outsideris**](https://github.com/outsideris))
|
|
89
|
-
|
|
90
|
-
Also thanks to [**@outsideris**](https://github.com/outsideris) for various improvements on our GH actions workflows.
|
|
91
|
-
|
|
92
|
-
# 8.3.2 / 2021-03-12
|
|
93
|
-
|
|
94
|
-
## :bug: Fixes
|
|
95
|
-
|
|
96
|
-
- [#4599](https://github.com/mochajs/mocha/issues/4599): Fix regression in `require` interface ([**@alexander-fenster**](https://github.com/alexander-fenster))
|
|
97
|
-
|
|
98
|
-
## :book: Documentation
|
|
99
|
-
|
|
100
|
-
- [#4601](https://github.com/mochajs/mocha/issues/4601): Add build to GH actions run ([**@christian-bromann**](https://github.com/christian-bromann))
|
|
101
|
-
- [#4596](https://github.com/mochajs/mocha/issues/4596): Filter active sponsors/backers ([**@juergba**](https://github.com/juergba))
|
|
102
|
-
- [#4225](https://github.com/mochajs/mocha/issues/4225): Update config file examples ([**@pkuczynski**](https://github.com/pkuczynski))
|
|
103
|
-
|
|
104
|
-
# 8.3.1 / 2021-03-06
|
|
105
|
-
|
|
106
|
-
## :bug: Fixes
|
|
107
|
-
|
|
108
|
-
- [#4577](https://github.com/mochajs/mocha/issues/4577): Browser: fix `EvalError` caused by regenerator-runtime ([**@snoack**](https://github.com/snoack))
|
|
109
|
-
- [#4574](https://github.com/mochajs/mocha/issues/4574): ESM: allow `import` from mocha in parallel mode ([**@nicojs**](https://github.com/nicojs))
|
|
110
|
-
|
|
111
|
-
# 8.3.0 / 2021-02-11
|
|
112
|
-
|
|
113
|
-
## :tada: Enhancements
|
|
114
|
-
|
|
115
|
-
- [#4506](https://github.com/mochajs/mocha/issues/4506): Add error code for test timeout errors ([**@boneskull**](https://github.com/boneskull))
|
|
116
|
-
- [#4112](https://github.com/mochajs/mocha/issues/4112): Add BigInt support to stringify util function ([**@JosejeSinohui**](https://github.com/JosejeSinohui))
|
|
117
|
-
|
|
118
|
-
## :bug: Fixes
|
|
119
|
-
|
|
120
|
-
- [#4557](https://github.com/mochajs/mocha/issues/4557): Add file location when SyntaxError happens in ESM ([**@giltayar**](https://github.com/giltayar))
|
|
121
|
-
- [#4521](https://github.com/mochajs/mocha/issues/4521): Fix `require` error when bundling Mocha with Webpack ([**@devhazem**](https://github.com/devhazem))
|
|
122
|
-
|
|
123
|
-
## :book: Documentation
|
|
124
|
-
|
|
125
|
-
- [#4507](https://github.com/mochajs/mocha/issues/4507): Add support for typescript-style docstrings ([**@boneskull**](https://github.com/boneskull))
|
|
126
|
-
- [#4503](https://github.com/mochajs/mocha/issues/4503): Add GH Actions workflow status badge ([**@outsideris**](https://github.com/outsideris))
|
|
127
|
-
- [#4494](https://github.com/mochajs/mocha/issues/4494): Add example of generating tests dynamically with a closure ([**@maxwellgerber**](https://github.com/maxwellgerber))
|
|
128
|
-
|
|
129
|
-
## :nut_and_bolt: Other
|
|
130
|
-
|
|
131
|
-
- [#4556](https://github.com/mochajs/mocha/issues/4556): Upgrade all dependencies to latest stable ([**@AviVahl**](https://github.com/AviVahl))
|
|
132
|
-
- [#4543](https://github.com/mochajs/mocha/issues/4543): Update dependencies yargs and yargs-parser ([**@juergba**](https://github.com/juergba))
|
|
133
|
-
|
|
134
|
-
Also thanks to [**@outsideris**](https://github.com/outsideris) and [**@HyunSangHan**](https://github.com/HyunSangHan) for various fixes to our website and documentation.
|
|
135
|
-
|
|
136
|
-
# 8.2.1 / 2020-11-02
|
|
137
|
-
|
|
138
|
-
Fixed stuff.
|
|
139
|
-
|
|
140
|
-
## :bug: Fixes
|
|
141
|
-
|
|
142
|
-
- [#4489](https://github.com/mochajs/mocha/issues/4489): Fix problematic handling of otherwise-unhandled `Promise` rejections and erroneous "`done()` called twice" errors ([**@boneskull**](https://github.com/boneskull))
|
|
143
|
-
- [#4496](https://github.com/mochajs/mocha/issues/4496): Avoid `MaxListenersExceededWarning` in watch mode ([**@boneskull**](https://github.com/boneskull))
|
|
144
|
-
|
|
145
|
-
Also thanks to [**@akeating**](https://github.com/akeating) for a documentation fix!
|
|
146
|
-
|
|
147
|
-
# 8.2.0 / 2020-10-16
|
|
148
|
-
|
|
149
|
-
The major feature added in v8.2.0 is addition of support for [_global fixtures_](https://mochajs.org/#global-fixtures).
|
|
150
|
-
|
|
151
|
-
While Mocha has always had the ability to run setup and teardown via a hook (e.g., a `before()` at the top level of a test file) when running tests in serial, Mocha v8.0.0 added support for parallel runs. Parallel runs are _incompatible_ with this strategy; e.g., a top-level `before()` would only run for the file in which it was defined.
|
|
152
|
-
|
|
153
|
-
With [global fixtures](https://mochajs.org/#global-fixtures), Mocha can now perform user-defined setup and teardown _regardless_ of mode, and these fixtures are guaranteed to run _once and only once_. This holds for parallel mode, serial mode, and even "watch" mode (the teardown will run once you hit Ctrl-C, just before Mocha finally exits). Tasks such as starting and stopping servers are well-suited to global fixtures, but not sharing resources--global fixtures do _not_ share context with your test files (but they do share context with each other).
|
|
154
|
-
|
|
155
|
-
Here's a short example of usage:
|
|
156
|
-
|
|
157
|
-
```js
|
|
158
|
-
// fixtures.js
|
|
159
|
-
|
|
160
|
-
// can be async or not
|
|
161
|
-
exports.mochaGlobalSetup = async function() {
|
|
162
|
-
this.server = await startSomeServer({port: process.env.TEST_PORT});
|
|
163
|
-
console.log(`server running on port ${this.server.port}`);
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
exports.mochaGlobalTeardown = async function() {
|
|
167
|
-
// the context (`this`) is shared, but not with the test files
|
|
168
|
-
await this.server.stop();
|
|
169
|
-
console.log(`server on port ${this.server.port} stopped`);
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
// this file can contain root hook plugins as well!
|
|
173
|
-
// exports.mochaHooks = { ... }
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Fixtures are loaded with `--require`, e.g., `mocha --require fixtures.js`.
|
|
177
|
-
|
|
178
|
-
For detailed information, please see the [documentation](https://mochajs.org/#global-fixtures) and this handy-dandy [flowchart](https://mochajs.org/#test-fixture-decision-tree-wizard-thing) to help understand the differences between hooks, root hook plugins, and global fixtures (and when you should use each).
|
|
179
|
-
|
|
180
|
-
## :tada: Enhancements
|
|
181
|
-
|
|
182
|
-
- [#4308](https://github.com/mochajs/mocha/issues/4308): Support run-once [global setup & teardown fixtures](https://mochajs.org/#global-fixtures) ([**@boneskull**](https://github.com/boneskull))
|
|
183
|
-
- [#4442](https://github.com/mochajs/mocha/issues/4442): Multi-part extensions (e.g., `test.js`) now usable with `--extension` option ([**@jordanstephens**](https://github.com/jordanstephens))
|
|
184
|
-
- [#4472](https://github.com/mochajs/mocha/issues/4472): Leading dots (e.g., `.js`, `.test.js`) now usable with `--extension` option ([**@boneskull**](https://github.com/boneskull))
|
|
185
|
-
- [#4434](https://github.com/mochajs/mocha/issues/4434): Output of `json` reporter now contains `speed` ("fast"/"medium"/"slow") property ([**@wwhurin**](https://github.com/wwhurin))
|
|
186
|
-
- [#4464](https://github.com/mochajs/mocha/issues/4464): Errors thrown by serializer in parallel mode now have error codes ([**@evaline-ju**](https://github.com/evaline-ju))
|
|
187
|
-
|
|
188
|
-
_For implementors of custom reporters:_
|
|
189
|
-
|
|
190
|
-
- [#4409](https://github.com/mochajs/mocha/issues/4409): Parallel mode and custom reporter improvements ([**@boneskull**](https://github.com/boneskull)):
|
|
191
|
-
- Support custom worker-process-only reporters (`Runner.prototype.workerReporter()`); reporters should subclass `ParallelBufferedReporter` in `mocha/lib/nodejs/reporters/parallel-buffered`
|
|
192
|
-
- Allow opt-in of object reference matching for "sufficiently advanced" custom reporters (`Runner.prototype.linkPartialObjects()`); use if strict object equality is needed when consuming `Runner` event data
|
|
193
|
-
- Enable detection of parallel mode (`Runner.prototype.isParallelMode()`)
|
|
194
|
-
|
|
195
|
-
## :bug: Fixes
|
|
196
|
-
|
|
197
|
-
- [#4476](https://github.com/mochajs/mocha/issues/4476): Workaround for profoundly bizarre issue affecting `npm` v6.x causing some of Mocha's deps to be installed when `mocha` is present in a package's `devDependencies` and `npm install --production` is run the package's working copy ([**@boneskull**](https://github.com/boneskull))
|
|
198
|
-
- [#4465](https://github.com/mochajs/mocha/issues/4465): Worker processes guaranteed (as opposed to "very likely") to exit before Mocha does; fixes a problem when using `nyc` with Mocha in parallel mode ([**@boneskull**](https://github.com/boneskull))
|
|
199
|
-
- [#4419](https://github.com/mochajs/mocha/issues/4419): Restore `lookupFiles()` in `mocha/lib/utils`, which was broken/missing in Mocha v8.1.0; it now prints a deprecation warning (use `const {lookupFiles} = require('mocha/lib/cli')` instead) ([**@boneskull**](https://github.com/boneskull))
|
|
200
|
-
|
|
201
|
-
Thanks to [**@AviVahl**](https://github.com/AviVahl), [**@donghoon-song**](https://github.com/donghoon-song), [**@ValeriaVG**](https://github.com/ValeriaVG), [**@znarf**](https://github.com/znarf), [**@sujin-park**](https://github.com/sujin-park), and [**@majecty**](https://github.com/majecty) for other helpful contributions!
|
|
202
|
-
|
|
203
|
-
# 8.1.3 / 2020-08-28
|
|
204
|
-
|
|
205
|
-
## :bug: Fixes
|
|
206
|
-
|
|
207
|
-
- [#4425](https://github.com/mochajs/mocha/issues/4425): Restore `Mocha.utils.lookupFiles()` and Webpack compatibility (both broken since v8.1.0); `Mocha.utils.lookupFiles()` is now **deprecated** and will be removed in the next major revision of Mocha; use `require('mocha/lib/cli').lookupFiles` instead ([**@boneskull**](https://github.com/boneskull))
|
|
208
|
-
|
|
209
|
-
# 8.1.2 / 2020-08-25
|
|
210
|
-
|
|
211
|
-
## :bug: Fixes
|
|
212
|
-
|
|
213
|
-
- [#4418](https://github.com/mochajs/mocha/issues/4418): Fix command-line flag incompatibility in forthcoming Node.js v14.9.0 ([**@boneskull**](https://github.com/boneskull))
|
|
214
|
-
- [#4401](https://github.com/mochajs/mocha/issues/4401): Fix missing global variable in browser ([**@irrationnelle**](https://github.com/irrationnelle))
|
|
215
|
-
|
|
216
|
-
## :lock: Security Fixes
|
|
217
|
-
|
|
218
|
-
- [#4396](https://github.com/mochajs/mocha/issues/4396): Update many dependencies ([**@GChuf**](https://github.com/GChuf))
|
|
219
|
-
|
|
220
|
-
## :book: Documentation
|
|
221
|
-
|
|
222
|
-
- Various fixes by [**@sujin-park**](https://github.com/sujin-park), [**@wwhurin**](https://github.com/wwhurin) & [**@Donghoon759**](https://github.com/Donghoon759)
|
|
223
|
-
|
|
224
|
-
# 8.1.1 / 2020-08-04
|
|
225
|
-
|
|
226
|
-
## :bug: Fixes
|
|
227
|
-
|
|
228
|
-
- [#4394](https://github.com/mochajs/mocha/issues/4394): Fix regression wherein certain reporters did not correctly detect terminal width ([**@boneskull**](https://github.com/boneskull))
|
|
229
|
-
|
|
230
|
-
# 8.1.0 / 2020-07-30
|
|
231
|
-
|
|
232
|
-
In this release, Mocha now builds its browser bundle with Rollup and Babel, which will provide the project's codebase more flexibility and consistency.
|
|
233
|
-
|
|
234
|
-
While we've been diligent about backwards compatibility, it's _possible_ consumers of the browser bundle will encounter differences (other than an increase in the bundle size). If you _do_ encounter an issue with the build, please [report it here](https://github.com/mochajs/mocha/issues/new?labels=unconfirmed-bug&template=bug_report.md&title=).
|
|
235
|
-
|
|
236
|
-
This release **does not** drop support for IE11.
|
|
237
|
-
|
|
238
|
-
Other community contributions came from [**@Devjeel**](https://github.com/Devjeel), [**@Harsha509**](https://github.com/Harsha509) and [**@sharath2106**](https://github.com/sharath2106). _Thank you_ to everyone who contributed to this release!
|
|
239
|
-
|
|
240
|
-
> Do you read Korean? See [this guide to running parallel tests in Mocha](https://blog.outsider.ne.kr/1489), translated by our maintainer, [**@outsideris**](https://github.com/outsideris).
|
|
241
|
-
|
|
242
|
-
## :tada: Enhancements
|
|
243
|
-
|
|
244
|
-
- [#4287](https://github.com/mochajs/mocha/issues/4287): Use background colors with inline diffs for better visual distinction ([**@michael-brade**](https://github.com/michael-brade))
|
|
245
|
-
|
|
246
|
-
## :bug: Fixes
|
|
247
|
-
|
|
248
|
-
- [#4328](https://github.com/mochajs/mocha/issues/4328): Fix "watch" mode when Mocha run in parallel ([**@boneskull**](https://github.com/boneskull))
|
|
249
|
-
- [#4382](https://github.com/mochajs/mocha/issues/4382): Fix root hook execution in "watch" mode ([**@indieisaconcept**](https://github.com/indieisaconcept))
|
|
250
|
-
- [#4383](https://github.com/mochajs/mocha/issues/4383): Consistent auto-generated hook titles ([**@cspotcode**](https://github.com/cspotcode))
|
|
251
|
-
- [#4359](https://github.com/mochajs/mocha/issues/4359): Better errors when running `mocha init` ([**@boneskull**](https://github.com/boneskull))
|
|
252
|
-
- [#4341](https://github.com/mochajs/mocha/issues/4341): Fix weirdness when using `delay` option in browser ([**@craigtaub**](https://github.com/craigtaub))
|
|
253
|
-
|
|
254
|
-
## :lock: Security Fixes
|
|
255
|
-
|
|
256
|
-
- [#4378](https://github.com/mochajs/mocha/issues/4378), [#4333](https://github.com/mochajs/mocha/issues/4333): Update [javascript-serialize](https://npm.im/javascript-serialize) ([**@martinoppitz**](https://github.com/martinoppitz), [**@wnghdcjfe**](https://github.com/wnghdcjfe))
|
|
257
|
-
- [#4354](https://github.com/mochajs/mocha/issues/4354): Update [yargs-unparser](https://npm.im/yargs-unparser) ([**@martinoppitz**](https://github.com/martinoppitz))
|
|
258
|
-
|
|
259
|
-
## :book: Documentation & Website
|
|
260
|
-
|
|
261
|
-
- [#4173](https://github.com/mochajs/mocha/issues/4173): Document how to use `--enable-source-maps` with Mocha ([**@bcoe**](https://github.com/bcoe))
|
|
262
|
-
- [#4343](https://github.com/mochajs/mocha/issues/4343): Clean up some API docs ([**@craigtaub**](https://github.com/craigtaub))
|
|
263
|
-
- [#4318](https://github.com/mochajs/mocha/issues/4318): Sponsor images are now self-hosted ([**@Munter**](https://github.com/Munter))
|
|
264
|
-
|
|
265
|
-
## :nut_and_bolt: Other
|
|
266
|
-
|
|
267
|
-
- [#4293](https://github.com/mochajs/mocha/issues/4293): Use Rollup and Babel in build pipeline; add source map to published files ([**@Munter**](https://github.com/Munter))
|
|
268
|
-
|
|
269
|
-
# 8.0.1 / 2020-06-10
|
|
270
|
-
|
|
271
|
-
The obligatory patch after a major.
|
|
272
|
-
|
|
273
|
-
## :bug: Fixes
|
|
274
|
-
|
|
275
|
-
- [#4328](https://github.com/mochajs/mocha/issues/4328): Fix `--parallel` when combined with `--watch` ([**@boneskull**](https://github.com/boneskull))
|
|
276
|
-
|
|
277
|
-
# 8.0.0 / 2020-06-10
|
|
278
|
-
|
|
279
|
-
In this major release, Mocha adds the ability to _run tests in parallel_. Better late than never! Please note the **breaking changes** detailed below.
|
|
280
|
-
|
|
281
|
-
Let's welcome [**@giltayar**](https://github.com/giltayar) and [**@nicojs**](https://github.com/nicojs) to the maintenance team!
|
|
282
|
-
|
|
283
|
-
## :boom: Breaking Changes
|
|
284
|
-
|
|
285
|
-
- [#4164](https://github.com/mochajs/mocha/issues/4164): **Mocha v8.0.0 now requires Node.js v10.12.0 or newer.** Mocha no longer supports the Node.js v8.x line ("Carbon"), which entered End-of-Life at the end of 2019 ([**@UlisesGascon**](https://github.com/UlisesGascon))
|
|
286
|
-
|
|
287
|
-
- [#4175](https://github.com/mochajs/mocha/issues/4175): Having been deprecated with a warning since v7.0.0, **`mocha.opts` is no longer supported** ([**@juergba**](https://github.com/juergba))
|
|
288
|
-
|
|
289
|
-
:sparkles: **WORKAROUND:** Replace `mocha.opts` with a [configuration file](https://mochajs.org/#configuring-mocha-nodejs).
|
|
290
|
-
|
|
291
|
-
- [#4260](https://github.com/mochajs/mocha/issues/4260): Remove `enableTimeout()` (`this.enableTimeout()`) from the context object ([**@craigtaub**](https://github.com/craigtaub))
|
|
292
|
-
|
|
293
|
-
:sparkles: **WORKAROUND:** Replace usage of `this.enableTimeout(false)` in your tests with `this.timeout(0)`.
|
|
294
|
-
|
|
295
|
-
- [#4315](https://github.com/mochajs/mocha/issues/4315): The `spec` option no longer supports a comma-delimited list of files ([**@juergba**](https://github.com/juergba))
|
|
296
|
-
|
|
297
|
-
:sparkles: **WORKAROUND**: Use an array instead (e.g., `"spec": "foo.js,bar.js"` becomes `"spec": ["foo.js", "bar.js"]`).
|
|
298
|
-
|
|
299
|
-
- [#4309](https://github.com/mochajs/mocha/issues/4309): Drop support for Node.js v13.x line, which is now End-of-Life ([**@juergba**](https://github.com/juergba))
|
|
300
|
-
|
|
301
|
-
- [#4282](https://github.com/mochajs/mocha/issues/4282): `--forbid-only` will throw an error even if exclusive tests are avoided via `--grep` or other means ([**@arvidOtt**](https://github.com/arvidOtt))
|
|
302
|
-
|
|
303
|
-
- [#4223](https://github.com/mochajs/mocha/issues/4223): The context object's `skip()` (`this.skip()`) in a "before all" (`before()`) hook will no longer execute subsequent sibling hooks, in addition to hooks in child suites ([**@juergba**](https://github.com/juergba))
|
|
304
|
-
|
|
305
|
-
- [#4178](https://github.com/mochajs/mocha/issues/4178): Remove previously soft-deprecated APIs ([**@wnghdcjfe**](https://github.com/wnghdcjfe)):
|
|
306
|
-
|
|
307
|
-
- `Mocha.prototype.ignoreLeaks()`
|
|
308
|
-
- `Mocha.prototype.useColors()`
|
|
309
|
-
- `Mocha.prototype.useInlineDiffs()`
|
|
310
|
-
- `Mocha.prototype.hideDiff()`
|
|
311
|
-
|
|
312
|
-
## :tada: Enhancements
|
|
313
|
-
|
|
314
|
-
- [#4245](https://github.com/mochajs/mocha/issues/4245): Add ability to run tests in parallel for Node.js (see [docs](https://mochajs.org/#parallel-tests)) ([**@boneskull**](https://github.com/boneskull))
|
|
315
|
-
|
|
316
|
-
:exclamation: See also [#4244](https://github.com/mochajs/mocha/issues/4244); [Root Hook Plugins (docs)](https://mochajs.org/#root-hook-plugins) -- _root hooks must be defined via Root Hook Plugins to work in parallel mode_
|
|
317
|
-
|
|
318
|
-
- [#4304](https://github.com/mochajs/mocha/issues/4304): `--require` now works with ES modules ([**@JacobLey**](https://github.com/JacobLey))
|
|
319
|
-
|
|
320
|
-
- [#4299](https://github.com/mochajs/mocha/issues/4299): In some circumstances, Mocha can run ES modules under Node.js v10 -- _use at your own risk!_ ([**@giltayar**](https://github.com/giltayar))
|
|
321
|
-
|
|
322
|
-
## :book: Documentation
|
|
323
|
-
|
|
324
|
-
- [#4246](https://github.com/mochajs/mocha/issues/4246): Add documentation for parallel mode and Root Hook plugins ([**@boneskull**](https://github.com/boneskull))
|
|
325
|
-
|
|
326
|
-
## :nut_and_bolt: Other
|
|
327
|
-
|
|
328
|
-
- [#4200](https://github.com/mochajs/mocha/issues/4200): Drop mkdirp and replace it with fs.mkdirSync ([**@HyunSangHan**](https://github.com/HyunSangHan))
|
|
329
|
-
|
|
330
|
-
## :bug: Fixes
|
|
331
|
-
|
|
332
|
-
(All bug fixes in Mocha v8.0.0 are also breaking changes, and are listed above)
|
|
333
|
-
|
|
334
|
-
# 7.2.0 / 2020-05-22
|
|
335
|
-
|
|
336
|
-
## :tada: Enhancements
|
|
337
|
-
|
|
338
|
-
- [#4234](https://github.com/mochajs/mocha/issues/4234): Add ability to run tests in a mocha instance multiple times ([**@nicojs**](https://github.com/nicojs))
|
|
339
|
-
- [#4219](https://github.com/mochajs/mocha/issues/4219): Exposing filename in JSON, doc, and json-stream reporters ([**@Daniel0113**](https://github.com/Daniel0113))
|
|
340
|
-
- [#4244](https://github.com/mochajs/mocha/issues/4244): Add Root Hook Plugins ([**@boneskull**](https://github.com/boneskull))
|
|
341
|
-
|
|
342
|
-
## :bug: Fixes
|
|
343
|
-
|
|
344
|
-
- [#4258](https://github.com/mochajs/mocha/issues/4258): Fix missing dot in name of configuration file ([**@sonicdoe**](https://github.com/sonicdoe))
|
|
345
|
-
- [#4194](https://github.com/mochajs/mocha/issues/4194): Check if module.paths really exists ([**@ematipico**](https://github.com/ematipico))
|
|
346
|
-
- [#4256](https://github.com/mochajs/mocha/issues/4256): `--forbid-only` does not recognize `it.only` when `before` crashes ([**@arvidOtt**](https://github.com/arvidOtt))
|
|
347
|
-
- [#4152](https://github.com/mochajs/mocha/issues/4152): Bug with multiple async done() calls ([**@boneskull**](https://github.com/boneskull))
|
|
348
|
-
- [#4275](https://github.com/mochajs/mocha/issues/4275): Improper warnings for invalid reporters ([**@boneskull**](https://github.com/boneskull))
|
|
349
|
-
- [#4288](https://github.com/mochajs/mocha/issues/4288): Broken hook.spec.js test for IE11 ([**@boneskull**](https://github.com/boneskull))
|
|
350
|
-
|
|
351
|
-
## :book: Documentation
|
|
352
|
-
|
|
353
|
-
- [#4081](https://github.com/mochajs/mocha/issues/4081): Insufficient white space for API docs in view on mobile ([**@HyunSangHan**](https://github.com/HyunSangHan))
|
|
354
|
-
- [#4255](https://github.com/mochajs/mocha/issues/4255): Update mocha-docdash for UI fixes on API docs ([**@craigtaub**](https://github.com/craigtaub))
|
|
355
|
-
- [#4235](https://github.com/mochajs/mocha/issues/4235): Enable emoji on website; enable normal ul elements ([**@boneskull**](https://github.com/boneskull))
|
|
356
|
-
- [#4272](https://github.com/mochajs/mocha/issues/4272): Fetch sponsors at build time, show ALL non-skeevy sponsors ([**@boneskull**](https://github.com/boneskull))
|
|
357
|
-
|
|
358
|
-
## :nut_and_bolt: Other
|
|
359
|
-
|
|
360
|
-
- [#4249](https://github.com/mochajs/mocha/issues/4249): Refactoring improving encapsulation ([**@arvidOtt**](https://github.com/arvidOtt))
|
|
361
|
-
- [#4242](https://github.com/mochajs/mocha/issues/4242): CI add job names, add Node.js v14 to matrix ([**@boneskull**](https://github.com/boneskull))
|
|
362
|
-
- [#4237](https://github.com/mochajs/mocha/issues/4237): Refactor validatePlugins to throw coded errors ([**@boneskull**](https://github.com/boneskull))
|
|
363
|
-
- [#4236](https://github.com/mochajs/mocha/issues/4236): Better debug output ([**@boneskull**](https://github.com/boneskull))
|
|
364
|
-
|
|
365
|
-
# 7.1.2 / 2020-04-26
|
|
366
|
-
|
|
367
|
-
## :nut_and_bolt: Other
|
|
368
|
-
|
|
369
|
-
- [#4251](https://github.com/mochajs/mocha/issues/4251): Prevent karma-mocha from stalling ([**@juergba**](https://github.com/juergba))
|
|
370
|
-
- [#4222](https://github.com/mochajs/mocha/issues/4222): Update dependency mkdirp to v0.5.5 ([**@outsideris**](https://github.com/outsideris))
|
|
371
|
-
|
|
372
|
-
## :book: Documentation
|
|
373
|
-
|
|
374
|
-
- [#4208](https://github.com/mochajs/mocha/issues/4208): Add Wallaby logo to site ([**@boneskull**](https://github.com/boneskull))
|
|
375
|
-
|
|
376
|
-
# 7.1.1 / 2020-03-18
|
|
377
|
-
|
|
378
|
-
## :lock: Security Fixes
|
|
379
|
-
|
|
380
|
-
- [#4204](https://github.com/mochajs/mocha/issues/4204): Update dependencies mkdirp, yargs-parser and yargs ([**@juergba**](https://github.com/juergba))
|
|
381
|
-
|
|
382
|
-
## :bug: Fixes
|
|
383
|
-
|
|
384
|
-
- [#3660](https://github.com/mochajs/mocha/issues/3660): Fix `runner` listening to `start` and `end` events ([**@juergba**](https://github.com/juergba))
|
|
385
|
-
|
|
386
|
-
## :book: Documentation
|
|
387
|
-
|
|
388
|
-
- [#4190](https://github.com/mochajs/mocha/issues/4190): Show Netlify badge on footer ([**@outsideris**](https://github.com/outsideris))
|
|
389
|
-
|
|
390
|
-
# 7.1.0 / 2020-02-26
|
|
391
|
-
|
|
392
|
-
## :tada: Enhancements
|
|
393
|
-
|
|
394
|
-
[#4038](https://github.com/mochajs/mocha/issues/4038): Add Node.js native ESM support ([**@giltayar**](https://github.com/giltayar))
|
|
395
|
-
|
|
396
|
-
Mocha supports writing your test files as ES modules:
|
|
397
|
-
|
|
398
|
-
- Node.js only v12.11.0 and above
|
|
399
|
-
- Node.js below v13.2.0, you must set `--experimental-modules` option
|
|
400
|
-
- current limitations: please check our [documentation](https://mochajs.org/#nodejs-native-esm-support)
|
|
401
|
-
- for programmatic usage: see [API: loadFilesAsync()](https://mochajs.org/api/mocha#loadFilesAsync)
|
|
402
|
-
|
|
403
|
-
**Note:** Node.JS native [ECMAScript Modules](https://nodejs.org/api/esm.html) implementation has status: **Stability: 1 - Experimental**
|
|
404
|
-
|
|
405
|
-
## :bug: Fixes
|
|
406
|
-
|
|
407
|
-
- [#4181](https://github.com/mochajs/mocha/issues/4181): Programmatic API cannot access retried test objects ([**@juergba**](https://github.com/juergba))
|
|
408
|
-
- [#4174](https://github.com/mochajs/mocha/issues/4174): Browser: fix `allowUncaught` option ([**@juergba**](https://github.com/juergba))
|
|
409
|
-
|
|
410
|
-
## :book: Documentation
|
|
411
|
-
|
|
412
|
-
- [#4058](https://github.com/mochajs/mocha/issues/4058): Manage author list in AUTHORS instead of `package.json` ([**@outsideris**](https://github.com/outsideris))
|
|
413
|
-
|
|
414
|
-
## :nut_and_bolt: Other
|
|
415
|
-
|
|
416
|
-
- [#4138](https://github.com/mochajs/mocha/issues/4138): Upgrade ESLint v6.8 ([**@kaicataldo**](https://github.com/kaicataldo))
|
|
417
|
-
|
|
418
|
-
# 7.0.1 / 2020-01-25
|
|
419
|
-
|
|
420
|
-
## :bug: Fixes
|
|
421
|
-
|
|
422
|
-
- [#4165](https://github.com/mochajs/mocha/issues/4165): Fix exception when skipping tests programmatically ([**@juergba**](https://github.com/juergba))
|
|
423
|
-
- [#4153](https://github.com/mochajs/mocha/issues/4153): Restore backwards compatibility for `reporterOptions` ([**@holm**](https://github.com/holm))
|
|
424
|
-
- [#4150](https://github.com/mochajs/mocha/issues/4150): Fix recovery of an open test upon uncaught exception ([**@juergba**](https://github.com/juergba))
|
|
425
|
-
- [#4147](https://github.com/mochajs/mocha/issues/4147): Fix regression of leaking uncaught exception handler ([**@juergba**](https://github.com/juergba))
|
|
426
|
-
|
|
427
|
-
## :book: Documentation
|
|
428
|
-
|
|
429
|
-
- [#4146](https://github.com/mochajs/mocha/issues/4146): Update copyright & trademark notices per OJSF ([**@boneskull**](https://github.com/boneskull))
|
|
430
|
-
- [#4140](https://github.com/mochajs/mocha/issues/4140): Fix broken links ([**@KyoungWan**](https://github.com/KyoungWan))
|
|
431
|
-
|
|
432
|
-
## :nut_and_bolt: Other
|
|
433
|
-
|
|
434
|
-
- [#4133](https://github.com/mochajs/mocha/issues/4133): Print more descriptive error message ([**@Zirak**](https://github.com/Zirak))
|
|
435
|
-
|
|
436
|
-
# 7.0.0 / 2020-01-05
|
|
437
|
-
|
|
438
|
-
## :boom: Breaking Changes
|
|
439
|
-
|
|
440
|
-
- [#3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@mojosoeun**](https://github.com/mojosoeun))
|
|
441
|
-
- [#3890](https://github.com/mochajs/mocha/issues/3890): Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument ([**@juergba**](https://github.com/juergba))
|
|
442
|
-
- [#3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@ParkSB**](https://github.com/ParkSB)):
|
|
443
|
-
- `--list-interfaces` replaces `--interfaces`
|
|
444
|
-
- `--list-reporters` replaces `--reporters`
|
|
445
|
-
- Hook pattern of `this.skip()` ([**@juergba**](https://github.com/juergba)):
|
|
446
|
-
- [#3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed
|
|
447
|
-
- [#3741](https://github.com/mochajs/mocha/issues/3741): When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed
|
|
448
|
-
- [#4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks
|
|
449
|
-
- [#3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@juergba**](https://github.com/juergba))
|
|
450
|
-
- [#4083](https://github.com/mochajs/mocha/issues/4083): Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code ([**@juergba**](https://github.com/juergba))
|
|
451
|
-
- [#4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@juergba**](https://github.com/juergba))
|
|
452
|
-
|
|
453
|
-
## :tada: Enhancements
|
|
454
|
-
|
|
455
|
-
- [#3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@geigerzaehler**](https://github.com/geigerzaehler)):
|
|
456
|
-
- adds command-line options `--watch-files` and `--watch-ignore`
|
|
457
|
-
- removes `--watch-extensions`
|
|
458
|
-
- [#3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@broofa**](https://github.com/broofa))
|
|
459
|
-
|
|
460
|
-
## :fax: Deprecations
|
|
461
|
-
|
|
462
|
-
These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
|
|
463
|
-
|
|
464
|
-
- [#3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@juergba**](https://github.com/juergba))
|
|
465
|
-
|
|
466
|
-
## :bug: Fixes
|
|
467
|
-
|
|
468
|
-
- [#4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@juergba**](https://github.com/juergba))
|
|
469
|
-
- [#4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@juergba**](https://github.com/juergba))
|
|
470
|
-
- [#4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@rgroothuijsen**](https://github.com/rgroothuijsen))
|
|
471
|
-
- [#4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@juergba**](https://github.com/juergba))
|
|
472
|
-
|
|
473
|
-
## :mag: Coverage
|
|
474
|
-
|
|
475
|
-
- [#4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@juergba**](https://github.com/juergba))
|
|
476
|
-
|
|
477
|
-
## :book: Documentation
|
|
478
|
-
|
|
479
|
-
- [#4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@SaeromB**](https://github.com/SaeromB))
|
|
480
|
-
- [#4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@khg0712**](https://github.com/khg0712))
|
|
481
|
-
- [#4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@jgehrcke**](https://github.com/jgehrcke))
|
|
482
|
-
- [#4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@pzrq**](https://github.com/pzrq))
|
|
483
|
-
- [#4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@boneskull**](https://github.com/boneskull))
|
|
484
|
-
- [#4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@HyunSangHan**](https://github.com/HyunSangHan))
|
|
485
|
-
- [#4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@HyunSangHan**](https://github.com/HyunSangHan))
|
|
486
|
-
- [#3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@outsideris**](https://github.com/outsideris))
|
|
487
|
-
|
|
488
|
-
## :nut_and_bolt: Other
|
|
489
|
-
|
|
490
|
-
- [#4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@kylef**](https://github.com/kylef))
|
|
491
|
-
- [#4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@SheetJSDev**](https://github.com/SheetJSDev))
|
|
492
|
-
- [#4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@Munter**](https://github.com/Munter))
|
|
493
|
-
- [#4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@soobing**](https://github.com/soobing))
|
|
494
|
-
|
|
495
|
-
# 6.2.3 / 2020-03-25
|
|
496
|
-
|
|
497
|
-
## :lock: Security Fixes
|
|
498
|
-
|
|
499
|
-
- [848d6fb8](https://github.com/mochajs/mocha/commit/848d6fb8feef659564b296db457312d38176910d): Update dependencies mkdirp, yargs-parser and yargs ([**@juergba**](https://github.com/juergba))
|
|
500
|
-
|
|
501
|
-
# 6.2.2 / 2019-10-18
|
|
502
|
-
|
|
503
|
-
## :bug: Fixes
|
|
504
|
-
|
|
505
|
-
- [#4025](https://github.com/mochajs/mocha/issues/4025): Fix duplicate `EVENT_RUN_END` events upon uncaught exception ([**@juergba**](https://github.com/juergba))
|
|
506
|
-
- [#4051](https://github.com/mochajs/mocha/issues/4051): Fix "unhide" function in `html` reporter (browser) ([**@pec9399**](https://github.com/pec9399))
|
|
507
|
-
- [#4063](https://github.com/mochajs/mocha/issues/4063): Fix use of [esm](https://npm.im/esm) in Node.js v8.x ([**@boneskull**](https://github.com/boneskull))
|
|
508
|
-
- [#4033](https://github.com/mochajs/mocha/issues/4033): Fix output when multiple async exceptions are thrown ([**@juergba**](https://github.com/juergba))
|
|
509
|
-
|
|
510
|
-
## :book: Documentation
|
|
511
|
-
|
|
512
|
-
- [#4046](https://github.com/mochajs/mocha/issues/4046): Site accessibility fixes ([**@Mia-jeong**](https://github.com/Mia-jeong))
|
|
513
|
-
- [#4026](https://github.com/mochajs/mocha/issues/4026): Update docs for custom reporters in browser ([**@Lindsay-Needs-Sleep**](https://github.com/Lindsay-Needs-Sleep))
|
|
514
|
-
- [#3971](https://github.com/mochajs/mocha/issues/3971): Adopt new OpenJS Foundation Code of Conduct ([**@craigtaub**](https://github.com/craigtaub))
|
|
515
|
-
|
|
516
|
-
# 6.2.1 / 2019-09-29
|
|
517
|
-
|
|
518
|
-
## :bug: Fixes
|
|
519
|
-
|
|
520
|
-
- [#3955](https://github.com/mochajs/mocha/issues/3955): tty.getWindowSize is not a function inside a "worker_threads" worker ([**@1999**](https://github.com/1999))
|
|
521
|
-
- [#3970](https://github.com/mochajs/mocha/issues/3970): remove extraGlobals() ([**@juergba**](https://github.com/juergba))
|
|
522
|
-
- [#3984](https://github.com/mochajs/mocha/issues/3984): Update yargs-unparser to v1.6.0 ([**@juergba**](https://github.com/juergba))
|
|
523
|
-
- [#3983](https://github.com/mochajs/mocha/issues/3983): Package 'esm': spawn child-process for correct loading ([**@juergba**](https://github.com/juergba))
|
|
524
|
-
- [#3986](https://github.com/mochajs/mocha/issues/3986): Update yargs to v13.3.0 and yargs-parser to v13.1.1 ([**@juergba**](https://github.com/juergba))
|
|
525
|
-
|
|
526
|
-
## :book: Documentation
|
|
527
|
-
|
|
528
|
-
- [#3886](https://github.com/mochajs/mocha/issues/3886): fix styles on mochajs.org ([**@outsideris**](https://github.com/outsideris))
|
|
529
|
-
- [#3966](https://github.com/mochajs/mocha/issues/3966): Remove jsdoc index.html placeholder from eleventy file structure and fix broken link in jsdoc tutorial ([**@Munter**](https://github.com/Munter))
|
|
530
|
-
- [#3765](https://github.com/mochajs/mocha/issues/3765): Add Matomo to website ([**@MarioDiaz98**](https://github.com/MarioDiaz98))
|
|
531
|
-
- [#3947](https://github.com/mochajs/mocha/issues/3947): Clarify effect of .skip() ([**@oliversalzburg**](https://github.com/oliversalzburg))
|
|
532
|
-
|
|
533
|
-
# 6.2.0 / 2019-07-18
|
|
534
|
-
|
|
535
|
-
## :tada: Enhancements
|
|
536
|
-
|
|
537
|
-
- [#3827](https://github.com/mochajs/mocha/issues/3827): Do not fork child-process if no Node flags are present ([**@boneskull**](https://github.com/boneskull))
|
|
538
|
-
- [#3725](https://github.com/mochajs/mocha/issues/3725): Base reporter store ref to console.log, see [mocha/wiki](https://github.com/mochajs/mocha/wiki/HOW-TO:-Correctly-stub-stdout) ([**@craigtaub**](https://github.com/craigtaub))
|
|
539
|
-
|
|
540
|
-
## :bug: Fixes
|
|
541
|
-
|
|
542
|
-
- [#3942](https://github.com/mochajs/mocha/issues/3942): Fix "No test files found" Error when file is passed via `--file` ([**@gabegorelick**](https://github.com/gabegorelick))
|
|
543
|
-
- [#3914](https://github.com/mochajs/mocha/issues/3914): Modify Mocha constructor to accept options `global` or `globals` ([**@pascalpp**](https://github.com/pascalpp))
|
|
544
|
-
- [#3894](https://github.com/mochajs/mocha/issues/3894): Fix parsing of config files with `_mocha` binary ([**@juergba**](https://github.com/juergba))
|
|
545
|
-
- [#3834](https://github.com/mochajs/mocha/issues/3834): Fix CLI parsing with default values ([**@boneskull**](https://github.com/boneskull), [**@juergba**](https://github.com/juergba))
|
|
546
|
-
- [#3831](https://github.com/mochajs/mocha/issues/3831): Fix `--timeout`/`--slow` string values and duplicate arguments ([**@boneskull**](https://github.com/boneskull), [**@juergba**](https://github.com/juergba))
|
|
547
|
-
|
|
548
|
-
## :book: Documentation
|
|
549
|
-
|
|
550
|
-
- [#3906](https://github.com/mochajs/mocha/issues/3906): Document option to define custom report name for XUnit reporter ([**@pkuczynski**](https://github.com/pkuczynski))
|
|
551
|
-
- [#3889](https://github.com/mochajs/mocha/issues/3889): Adds doc links for mocha-examples ([**@craigtaub**](https://github.com/craigtaub))
|
|
552
|
-
- [#3887](https://github.com/mochajs/mocha/issues/3887): Fix broken links ([**@toyjhlee**](https://github.com/toyjhlee))
|
|
553
|
-
- [#3841](https://github.com/mochajs/mocha/issues/3841): Fix anchors to configuration section ([**@trescube**](https://github.com/trescube))
|
|
554
|
-
|
|
555
|
-
## :mag: Coverage
|
|
556
|
-
|
|
557
|
-
- [#3915](https://github.com/mochajs/mocha/issues/3915), [#3929](https://github.com/mochajs/mocha/issues/3929): Increase tests coverage for `--watch` options ([**@geigerzaehler**](https://github.com/geigerzaehler))
|
|
558
|
-
|
|
559
|
-
## :nut_and_bolt: Other
|
|
560
|
-
|
|
561
|
-
- [#3953](https://github.com/mochajs/mocha/issues/3953): Collect test files later, prepares improvements to the `--watch` mode behavior ([**@geigerzaehler**](https://github.com/geigerzaehler))
|
|
562
|
-
- [#3939](https://github.com/mochajs/mocha/issues/3939): Upgrade for npm audit ([**@boneskull**](https://github.com/boneskull))
|
|
563
|
-
- [#3930](https://github.com/mochajs/mocha/issues/3930): Extract `runWatch` into separate module ([**@geigerzaehler**](https://github.com/geigerzaehler))
|
|
564
|
-
- [#3922](https://github.com/mochajs/mocha/issues/3922): Add `mocha.min.js` file to stacktrace filter ([**@brian-lagerman**](https://github.com/brian-lagerman))
|
|
565
|
-
- [#3919](https://github.com/mochajs/mocha/issues/3919): Update CI config files to use Node-12.x ([**@plroebuck**](https://github.com/plroebuck))
|
|
566
|
-
- [#3892](https://github.com/mochajs/mocha/issues/3892): Rework reporter tests ([**@plroebuck**](https://github.com/plroebuck))
|
|
567
|
-
- [#3872](https://github.com/mochajs/mocha/issues/3872): Rename `--exclude` to `--ignore` and create alias ([**@boneskull**](https://github.com/boneskull))
|
|
568
|
-
- [#3963](https://github.com/mochajs/mocha/issues/3963): Hide stacktrace when cli args are missing ([**@outsideris**](https://github.com/outsideris))
|
|
569
|
-
- [#3956](https://github.com/mochajs/mocha/issues/3956): Do not redeclare variable in docs array example ([**@DanielRuf**](https://github.com/DanielRuf))
|
|
570
|
-
- [#3957](https://github.com/mochajs/mocha/issues/3957): Remove duplicate line-height property in `mocha.css` ([**@DanielRuf**](https://github.com/DanielRuf))
|
|
571
|
-
- [#3960](https://github.com/mochajs/mocha/issues/3960): Don't re-initialize grep option on watch re-run ([**@geigerzaehler**](https://github.com/geigerzaehler))
|
|
572
|
-
|
|
573
|
-
# 6.1.4 / 2019-04-18
|
|
574
|
-
|
|
575
|
-
## :lock: Security Fixes
|
|
576
|
-
|
|
577
|
-
- [#3877](https://github.com/mochajs/mocha/issues/3877): Upgrade [js-yaml](https://npm.im/js-yaml), addressing [code injection vulnerability](https://www.npmjs.com/advisories/813) ([**@bjornstar**](https://github.com/bjornstar))
|
|
578
|
-
|
|
579
|
-
# 6.1.3 / 2019-04-11
|
|
580
|
-
|
|
581
|
-
## :bug: Fixes
|
|
582
|
-
|
|
583
|
-
- [#3863](https://github.com/mochajs/mocha/issues/3863): Fix `yargs`-related global scope pollution ([**@inukshuk**](https://github.com/inukshuk))
|
|
584
|
-
- [#3869](https://github.com/mochajs/mocha/issues/3869): Fix failure when installed w/ `pnpm` ([**@boneskull**](https://github.com/boneskull))
|
|
585
|
-
|
|
586
|
-
# 6.1.2 / 2019-04-08
|
|
587
|
-
|
|
588
|
-
## :bug: Fixes
|
|
589
|
-
|
|
590
|
-
- [#3867](https://github.com/mochajs/mocha/issues/3867): Re-publish v6.1.1 from POSIX OS to avoid dropped executable flags ([**@boneskull**](https://github.com/boneskull))
|
|
591
|
-
|
|
592
|
-
# 6.1.1 / 2019-04-07
|
|
593
|
-
|
|
594
|
-
## :bug: Fixes
|
|
595
|
-
|
|
596
|
-
- [#3866](https://github.com/mochajs/mocha/issues/3866): Fix Windows End-of-Line publishing issue ([**@juergba**](https://github.com/juergba) & [**@cspotcode**](https://github.com/cspotcode))
|
|
597
|
-
|
|
598
|
-
# 6.1.0 / 2019-04-07
|
|
599
|
-
|
|
600
|
-
## :lock: Security Fixes
|
|
601
|
-
|
|
602
|
-
- [#3845](https://github.com/mochajs/mocha/issues/3845): Update dependency "js-yaml" to v3.13.0 per npm security advisory ([**@plroebuck**](https://github.com/plroebuck))
|
|
603
|
-
|
|
604
|
-
## :tada: Enhancements
|
|
605
|
-
|
|
606
|
-
- [#3766](https://github.com/mochajs/mocha/issues/3766): Make reporter constructor support optional `options` parameter ([**@plroebuck**](https://github.com/plroebuck))
|
|
607
|
-
- [#3760](https://github.com/mochajs/mocha/issues/3760): Add support for config files with `.jsonc` extension ([**@sstephant**](https://github.com/sstephant))
|
|
608
|
-
|
|
609
|
-
## :fax: Deprecations
|
|
610
|
-
|
|
611
|
-
These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
|
|
612
|
-
|
|
613
|
-
- [#3719](https://github.com/mochajs/mocha/issues/3719): Deprecate `this.skip()` for "after all" hooks ([**@juergba**](https://github.com/juergba))
|
|
614
|
-
|
|
615
|
-
## :bug: Fixes
|
|
616
|
-
|
|
617
|
-
- [#3829](https://github.com/mochajs/mocha/issues/3829): Use cwd-relative pathname to load config file ([**@plroebuck**](https://github.com/plroebuck))
|
|
618
|
-
- [#3745](https://github.com/mochajs/mocha/issues/3745): Fix async calls of `this.skip()` in "before each" hooks ([**@juergba**](https://github.com/juergba))
|
|
619
|
-
- [#3669](https://github.com/mochajs/mocha/issues/3669): Enable `--allow-uncaught` for uncaught exceptions thrown inside hooks ([**@givanse**](https://github.com/givanse))
|
|
620
|
-
|
|
621
|
-
and some regressions:
|
|
622
|
-
|
|
623
|
-
- [#3848](https://github.com/mochajs/mocha/issues/3848): Fix `Suite` cloning by copying `root` property ([**@fatso83**](https://github.com/fatso83))
|
|
624
|
-
- [#3816](https://github.com/mochajs/mocha/issues/3816): Guard against undefined timeout option ([**@boneskull**](https://github.com/boneskull))
|
|
625
|
-
- [#3814](https://github.com/mochajs/mocha/issues/3814): Update "yargs" in order to avoid deprecation message ([**@boneskull**](https://github.com/boneskull))
|
|
626
|
-
- [#3788](https://github.com/mochajs/mocha/issues/3788): Fix support for multiple node flags ([**@aginzberg**](https://github.com/aginzberg))
|
|
627
|
-
|
|
628
|
-
## :book: Documentation
|
|
629
|
-
|
|
630
|
-
- [mochajs/mocha-examples](https://github.com/mochajs/mocha-examples): New repository of working examples of common configurations using mocha ([**@craigtaub**](https://github.com/craigtaub))
|
|
631
|
-
- [#3850](https://github.com/mochajs/mocha/issues/3850): Remove pound icon showing on header hover on docs ([**@jd2rogers2**](https://github.com/jd2rogers2))
|
|
632
|
-
- [#3812](https://github.com/mochajs/mocha/issues/3812): Add autoprefixer to documentation page CSS ([**@Munter**](https://github.com/Munter))
|
|
633
|
-
- [#3811](https://github.com/mochajs/mocha/issues/3811): Update doc examples "tests.html" ([**@DavidLi119**](https://github.com/DavidLi119))
|
|
634
|
-
- [#3807](https://github.com/mochajs/mocha/issues/3807): Mocha website HTML tweaks ([**@plroebuck**](https://github.com/plroebuck))
|
|
635
|
-
- [#3793](https://github.com/mochajs/mocha/issues/3793): Update config file example ".mocharc.yml" ([**@cspotcode**](https://github.com/cspotcode))
|
|
636
|
-
|
|
637
|
-
## :nut_and_bolt: Other
|
|
638
|
-
|
|
639
|
-
- [#3830](https://github.com/mochajs/mocha/issues/3830): Replace dependency "findup-sync" with "find-up" for faster startup ([**@cspotcode**](https://github.com/cspotcode))
|
|
640
|
-
- [#3799](https://github.com/mochajs/mocha/issues/3799): Update devDependencies to fix many npm vulnerabilities ([**@XhmikosR**](https://github.com/XhmikosR))
|
|
641
|
-
|
|
642
|
-
# 6.0.2 / 2019-02-25
|
|
643
|
-
|
|
644
|
-
## :bug: Fixes
|
|
645
|
-
|
|
646
|
-
Two more regressions fixed:
|
|
647
|
-
|
|
648
|
-
- [#3768](https://github.com/mochajs/mocha/issues/3768): Test file paths no longer dropped from `mocha.opts` ([**@boneskull**](https://github.com/boneskull))
|
|
649
|
-
- [#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))
|
|
650
|
-
|
|
651
|
-
# 6.0.1 / 2019-02-21
|
|
652
|
-
|
|
653
|
-
The obligatory round of post-major-release bugfixes.
|
|
654
|
-
|
|
655
|
-
## :bug: Fixes
|
|
656
|
-
|
|
657
|
-
These issues were regressions.
|
|
658
|
-
|
|
659
|
-
- [#3754](https://github.com/mochajs/mocha/issues/3754): Mocha again finds `test.js` when run without arguments ([**@plroebuck**](https://github.com/plroebuck))
|
|
660
|
-
- [#3756](https://github.com/mochajs/mocha/issues/3756): Mocha again supports third-party interfaces via `--ui` ([**@boneskull**](https://github.com/boneskull))
|
|
661
|
-
- [#3755](https://github.com/mochajs/mocha/issues/3755): Fix broken `--watch` ([**@boneskull**](https://github.com/boneskull))
|
|
662
|
-
- [#3759](https://github.com/mochajs/mocha/issues/3759): Fix unwelcome deprecation notice when Mocha run against languages (CoffeeScript) with implicit return statements; _returning a non-`undefined` value from a `describe` callback is no longer considered deprecated_ ([**@boneskull**](https://github.com/boneskull))
|
|
663
|
-
|
|
664
|
-
## :book: Documentation
|
|
665
|
-
|
|
666
|
-
- [#3738](https://github.com/mochajs/mocha/issues/3738): Upgrade to `@mocha/docdash@2` ([**@tendonstrength**](https://github.com/tendonstrength))
|
|
667
|
-
- [#3751](https://github.com/mochajs/mocha/issues/3751): Use preferred names for example config files ([**@Szauka**](https://github.com/Szauka))
|
|
668
|
-
|
|
669
|
-
# 6.0.0 / 2019-02-18
|
|
670
|
-
|
|
671
|
-
## :tada: Enhancements
|
|
672
|
-
|
|
673
|
-
- [#3726](https://github.com/mochajs/mocha/issues/3726): Add ability to unload files from `require` cache ([**@plroebuck**](https://github.com/plroebuck))
|
|
674
|
-
|
|
675
|
-
## :bug: Fixes
|
|
676
|
-
|
|
677
|
-
- [#3737](https://github.com/mochajs/mocha/issues/3737): Fix falsy values from options globals ([**@plroebuck**](https://github.com/plroebuck))
|
|
678
|
-
- [#3707](https://github.com/mochajs/mocha/issues/3707): Fix encapsulation issues for `Suite#_onlyTests` and `Suite#_onlySuites` ([**@vkarpov15**](https://github.com/vkarpov15))
|
|
679
|
-
- [#3711](https://github.com/mochajs/mocha/issues/3711): Fix diagnostic messages dealing with plurality and markup of output ([**@plroebuck**](https://github.com/plroebuck))
|
|
680
|
-
- [#3723](https://github.com/mochajs/mocha/issues/3723): Fix "reporter-option" to allow comma-separated options ([**@boneskull**](https://github.com/boneskull))
|
|
681
|
-
- [#3722](https://github.com/mochajs/mocha/issues/3722): Fix code quality and performance of `lookupFiles` and `files` ([**@plroebuck**](https://github.com/plroebuck))
|
|
682
|
-
- [#3650](https://github.com/mochajs/mocha/issues/3650), [#3654](https://github.com/mochajs/mocha/issues/3654): Fix noisy error message when no files found ([**@craigtaub**](https://github.com/craigtaub))
|
|
683
|
-
- [#3632](https://github.com/mochajs/mocha/issues/3632): Tests having an empty title are no longer confused with the "root" suite ([**@juergba**](https://github.com/juergba))
|
|
684
|
-
- [#3666](https://github.com/mochajs/mocha/issues/3666): Fix missing error codes ([**@vkarpov15**](https://github.com/vkarpov15))
|
|
685
|
-
- [#3684](https://github.com/mochajs/mocha/issues/3684): Fix exiting problem in Node.js v11.7.0+ ([**@addaleax**](https://github.com/addaleax))
|
|
686
|
-
- [#3691](https://github.com/mochajs/mocha/issues/3691): Fix `--delay` (and other boolean options) not working in all cases ([**@boneskull**](https://github.com/boneskull))
|
|
687
|
-
- [#3692](https://github.com/mochajs/mocha/issues/3692): Fix invalid command-line argument usage not causing actual errors ([**@boneskull**](https://github.com/boneskull))
|
|
688
|
-
- [#3698](https://github.com/mochajs/mocha/issues/3698), [#3699](https://github.com/mochajs/mocha/issues/3699): Fix debug-related Node.js options not working in all cases ([**@boneskull**](https://github.com/boneskull))
|
|
689
|
-
- [#3700](https://github.com/mochajs/mocha/issues/3700): Growl notifications now show the correct number of tests run ([**@outsideris**](https://github.com/outsideris))
|
|
690
|
-
- [#3686](https://github.com/mochajs/mocha/issues/3686): Avoid potential ReDoS when diffing large objects ([**@cyjake**](https://github.com/cyjake))
|
|
691
|
-
- [#3715](https://github.com/mochajs/mocha/issues/3715): Fix incorrect order of emitted events when used programmatically ([**@boneskull**](https://github.com/boneskull))
|
|
692
|
-
- [#3706](https://github.com/mochajs/mocha/issues/3706): Fix regression wherein `--reporter-option`/`--reporter-options` did not support comma-separated key/value pairs ([**@boneskull**](https://github.com/boneskull))
|
|
693
|
-
|
|
694
|
-
## :book: Documentation
|
|
695
|
-
|
|
696
|
-
- [#3652](https://github.com/mochajs/mocha/issues/3652): Switch from Jekyll to Eleventy ([**@Munter**](https://github.com/Munter))
|
|
697
|
-
|
|
698
|
-
## :nut_and_bolt: Other
|
|
699
|
-
|
|
700
|
-
- [#3677](https://github.com/mochajs/mocha/issues/3677): Add error objects for createUnsupportedError and createInvalidExceptionError ([**@boneskull**](https://github.com/boneskull))
|
|
701
|
-
- [#3733](https://github.com/mochajs/mocha/issues/3733): Removed unnecessary processing in post-processing hook ([**@wanseob**](https://github.com/wanseob))
|
|
702
|
-
- [#3730](https://github.com/mochajs/mocha/issues/3730): Update nyc to latest version ([**@coreyfarrell**](https://github.com/coreyfarrell))
|
|
703
|
-
- [#3648](https://github.com/mochajs/mocha/issues/3648), [#3680](https://github.com/mochajs/mocha/issues/3680): Fixes to support latest versions of [unexpected](https://npm.im/unexpected) and [unexpected-sinon](https://npm.im/unexpected-sinon) ([**@sunesimonsen**](https://github.com/sunesimonsen))
|
|
704
|
-
- [#3638](https://github.com/mochajs/mocha/issues/3638): Add meta tag to site ([**@MartijnCuppens**](https://github.com/MartijnCuppens))
|
|
705
|
-
- [#3653](https://github.com/mochajs/mocha/issues/3653): Fix parts of test suite failing to run on Windows ([**@boneskull**](https://github.com/boneskull))
|
|
706
|
-
|
|
707
|
-
# 6.0.0-1 / 2019-01-02
|
|
708
|
-
|
|
709
|
-
## :bug: Fixes
|
|
710
|
-
|
|
711
|
-
- Fix missing `mocharc.json` in published package ([**@boneskull**](https://github.com/boneskull))
|
|
712
|
-
|
|
713
|
-
# 6.0.0-0 / 2019-01-01
|
|
714
|
-
|
|
715
|
-
**Documentation for this release can be found at [next.mochajs.org](https://next.mochajs.org)**!
|
|
716
|
-
|
|
717
|
-
Welcome [**@plroebuck**](https://github.com/plroebuck), [**@craigtaub**](https://github.com/craigtaub), & [**@markowsiak**](https://github.com/markowsiak) to the team!
|
|
718
|
-
|
|
719
|
-
## :boom: Breaking Changes
|
|
720
|
-
|
|
721
|
-
- [#3149](https://github.com/mochajs/mocha/issues/3149): **Drop Node.js v4.x support** ([**@outsideris**](https://github.com/outsideris))
|
|
722
|
-
- [#3556](https://github.com/mochajs/mocha/issues/3556): Changes to command-line options ([**@boneskull**](https://github.com/boneskull)):
|
|
723
|
-
- `--grep` and `--fgrep` are now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring `--grep`
|
|
724
|
-
- `--compilers` is no longer supported; attempting to use will cause Mocha to fail with a link to more information
|
|
725
|
-
- `-d` is no longer an alias for `--debug`; `-d` is currently ignored
|
|
726
|
-
- [#3275](https://github.com/mochajs/mocha/issues/3275): `--watch-extensions` no longer implies `js`; it must be explicitly added ([**@TheDancingCode**](https://github.com/TheDancingCode))
|
|
727
|
-
- [#2908](https://github.com/mochajs/mocha/issues/2908): `tap` reporter emits error messages ([**@chrmod**](https://github.com/chrmod))
|
|
728
|
-
- [#2819](https://github.com/mochajs/mocha/issues/2819): When conditionally skipping in a `before` hook, subsequent `before` hooks _and_ tests in nested suites are now skipped ([**@bannmoore**](https://github.com/bannmoore))
|
|
729
|
-
- [#627](https://github.com/mochajs/mocha/issues/627): Emit filepath in "timeout exceeded" exceptions where applicable ([**@boneskull**](https://github.com/boneskull))
|
|
730
|
-
- [#3556](https://github.com/mochajs/mocha/issues/3556): `lib/template.html` has moved to `lib/browser/template.html` ([**@boneskull**](https://github.com/boneskull))
|
|
731
|
-
- [#2576](https://github.com/mochajs/mocha/issues/2576): An exception is now thrown if Mocha fails to parse or find a `mocha.opts` at a user-specified path ([**@plroebuck**](https://github.com/plroebuck))
|
|
732
|
-
- [#3458](https://github.com/mochajs/mocha/issues/3458): Instantiating a `Base`-extending reporter without a `Runner` parameter will throw an exception ([**@craigtaub**](https://github.com/craigtaub))
|
|
733
|
-
- [#3125](https://github.com/mochajs/mocha/issues/3125): For consumers of Mocha's programmatic API, all exceptions thrown from Mocha now have a `code` property (and some will have additional metadata). Some `Error` messages have changed. **Please use the `code` property to check `Error` types instead of the `message` property**; these descriptions will be localized in the future. ([**@craigtaub**](https://github.com/craigtaub))
|
|
734
|
-
|
|
735
|
-
## :fax: Deprecations
|
|
736
|
-
|
|
737
|
-
These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
|
|
738
|
-
|
|
739
|
-
- `-gc` users should use `--gc-global` instead
|
|
740
|
-
- Consumers of the function exported by `bin/options` should now use the `loadMochaOpts` or `loadOptions` (preferred) functions exported by the `lib/cli/options` module
|
|
741
|
-
|
|
742
|
-
Regarding the `Mocha` class constructor (from `lib/mocha`):
|
|
743
|
-
|
|
744
|
-
- Use property `color: false` instead of `useColors: false`
|
|
745
|
-
- Use property `timeout: false` instead of `enableTimeouts: false`
|
|
746
|
-
|
|
747
|
-
All of the above deprecations were introduced by [#3556](https://github.com/mochajs/mocha/issues/3556).
|
|
748
|
-
|
|
749
|
-
`mocha.opts` is now considered "legacy"; please prefer RC file or `package.json` over `mocha.opts`.
|
|
750
|
-
|
|
751
|
-
## :tada: Enhancements
|
|
752
|
-
|
|
753
|
-
Enhancements introduced in [#3556](https://github.com/mochajs/mocha/issues/3556):
|
|
754
|
-
|
|
755
|
-
- Mocha now supports "RC" files in JS, JSON, YAML, or `package.json`-based (using `mocha` property) format
|
|
756
|
-
|
|
757
|
-
- `.mocharc.js`, `.mocharc.json`, `.mocharc.yaml` or `.mocharc.yml` are valid "rc" file names and will be automatically loaded
|
|
758
|
-
- Use `--config /path/to/rc/file` to specify an explicit path
|
|
759
|
-
- Use `--package /path/to/package.json` to specify an explicit `package.json` to read the `mocha` prop from
|
|
760
|
-
- Use `--no-config` or `--no-package` to completely disable loading of configuration via RC file and `package.json`, respectively
|
|
761
|
-
- Configurations are merged as applicable using the priority list:
|
|
762
|
-
1. Command-line arguments
|
|
763
|
-
1. RC file
|
|
764
|
-
1. `package.json`
|
|
765
|
-
1. `mocha.opts`
|
|
766
|
-
1. Mocha's own defaults
|
|
767
|
-
- Check out these [example config files](https://github.com/mochajs/mocha/tree/master/example/config)
|
|
768
|
-
|
|
769
|
-
- Node/V8 flag support in `mocha` executable:
|
|
770
|
-
|
|
771
|
-
- Support all allowed `node` flags as supported by the running version of `node` (also thanks to [**@demurgos**](https://github.com/demurgos))
|
|
772
|
-
- Support any V8 flag by prepending `--v8-` to the flag name
|
|
773
|
-
- All flags are also supported via config files, `package.json` properties, or `mocha.opts`
|
|
774
|
-
- Debug-related flags (e.g., `--inspect`) now _imply_ `--no-timeouts`
|
|
775
|
-
- Use of e.g., `--debug` will automatically invoke `--inspect` if supported by running version of `node`
|
|
776
|
-
|
|
777
|
-
- Support negation of any Mocha-specific command-line flag by prepending `--no-` to the flag name
|
|
778
|
-
|
|
779
|
-
- Interfaces now have descriptions when listed using `--interfaces` flag
|
|
780
|
-
|
|
781
|
-
- `Mocha` constructor supports all options
|
|
782
|
-
|
|
783
|
-
- `--extension` is now an alias for `--watch-extensions` and affects _non-watch-mode_ test runs as well. For example, to run _only_ `test/*.coffee` (not `test/*.js`), you can do `mocha --require coffee-script/register --extensions coffee`.
|
|
784
|
-
|
|
785
|
-
- [#3552](https://github.com/mochajs/mocha/issues/3552): `tap` reporter is now TAP13-capable ([**@plroebuck**](https://github.com/plroebuck) & [**@mollstam**](https://github.com/mollstam))
|
|
786
|
-
|
|
787
|
-
- [#3535](https://github.com/mochajs/mocha/issues/3535): Mocha's version can now be queried programmatically via public property `Mocha.prototype.version` ([**@plroebuck**](https://github.com/plroebuck))
|
|
788
|
-
|
|
789
|
-
- [#3428](https://github.com/mochajs/mocha/issues/3428): `xunit` reporter shows diffs ([**@mlucool**](https://github.com/mlucool))
|
|
790
|
-
|
|
791
|
-
- [#2529](https://github.com/mochajs/mocha/issues/2529): `Runner` now emits a `retry` event when tests are retried (reporters can listen for this) ([**@catdad**](https://github.com/catdad))
|
|
792
|
-
|
|
793
|
-
- [#2962](https://github.com/mochajs/mocha/issues/2962), [#3111](https://github.com/mochajs/mocha/issues/3111): In-browser notification support; warn about missing prereqs when `--growl` supplied ([**@plroebuck**](https://github.com/plroebuck))
|
|
794
|
-
|
|
795
|
-
## :bug: Fixes
|
|
796
|
-
|
|
797
|
-
- [#3356](https://github.com/mochajs/mocha/issues/3356): `--no-timeouts` and `--timeout 0` now does what you'd expect ([**@boneskull**](https://github.com/boneskull))
|
|
798
|
-
- [#3475](https://github.com/mochajs/mocha/issues/3475): Restore `--no-exit` option ([**@boneskull**](https://github.com/boneskull))
|
|
799
|
-
- [#3570](https://github.com/mochajs/mocha/issues/3570): Long-running tests now respect `SIGINT` ([**@boneskull**](https://github.com/boneskull))
|
|
800
|
-
- [#2944](https://github.com/mochajs/mocha/issues/2944): `--forbid-only` and `--forbid-pending` now "fail fast" when encountered on a suite ([**@outsideris**](https://github.com/outsideris))
|
|
801
|
-
- [#1652](https://github.com/mochajs/mocha/issues/1652), [#2951](https://github.com/mochajs/mocha/issues/2951): Fix broken clamping of timeout values ([**@plroebuck**](https://github.com/plroebuck))
|
|
802
|
-
- [#2095](https://github.com/mochajs/mocha/issues/2095), [#3521](https://github.com/mochajs/mocha/issues/3521): Do not log `stdout:` prefix in browser console ([**@Bamieh**](https://github.com/Bamieh))
|
|
803
|
-
- [#3595](https://github.com/mochajs/mocha/issues/3595): Fix mochajs.org deployment problems ([**@papandreou**](https://github.com/papandreou))
|
|
804
|
-
- [#3518](https://github.com/mochajs/mocha/issues/3518): Improve `utils.isPromise()` ([**@fabiosantoscode**](https://github.com/fabiosantoscode))
|
|
805
|
-
- [#3320](https://github.com/mochajs/mocha/issues/3320): Fail gracefully when non-extensible objects are thrown in async tests ([**@fargies**](https://github.com/fargies))
|
|
806
|
-
- [#2475](https://github.com/mochajs/mocha/issues/2475): XUnit does not duplicate test result numbers in "errors" and "failures"; "failures" will **always** be zero ([**@mlucool**](https://github.com/mlucool))
|
|
807
|
-
- [#3398](https://github.com/mochajs/mocha/issues/3398), [#3598](https://github.com/mochajs/mocha/issues/3598), [#3457](https://github.com/mochajs/mocha/issues/3457), [#3617](https://github.com/mochajs/mocha/issues/3617): Fix regression wherein `--bail` would not execute "after" nor "after each" hooks ([**@juergba**](https://github.com/juergba))
|
|
808
|
-
- [#3580](https://github.com/mochajs/mocha/issues/3580): Fix potential exception when using XUnit reporter programmatically ([**@Lana-Light**](https://github.com/Lana-Light))
|
|
809
|
-
- [#1304](https://github.com/mochajs/mocha/issues/1304): Do not output color to `TERM=dumb` ([**@plroebuck**](https://github.com/plroebuck))
|
|
810
|
-
|
|
811
|
-
## :book: Documentation
|
|
812
|
-
|
|
813
|
-
- [#3525](https://github.com/mochajs/mocha/issues/3525): Improvements to `.github/CONTRIBUTING.md` ([**@markowsiak**](https://github.com/markowsiak))
|
|
814
|
-
- [#3466](https://github.com/mochajs/mocha/issues/3466): Update description of `slow` option ([**@finfin**](https://github.com/finfin))
|
|
815
|
-
- [#3405](https://github.com/mochajs/mocha/issues/3405): Remove references to bower installations ([**@goteamtim**](https://github.com/goteamtim))
|
|
816
|
-
- [#3361](https://github.com/mochajs/mocha/issues/3361): Improvements to `--watch` docs ([**@benglass**](https://github.com/benglass))
|
|
817
|
-
- [#3136](https://github.com/mochajs/mocha/issues/3136): Improve docs around globbing and shell expansion ([**@akrawchyk**](https://github.com/akrawchyk))
|
|
818
|
-
- [#2819](https://github.com/mochajs/mocha/issues/2819): Update docs around skips and hooks ([**@bannmoore**](https://github.com/bannmoore))
|
|
819
|
-
- Many improvements by [**@outsideris**](https://github.com/outsideris)
|
|
820
|
-
|
|
821
|
-
## :nut_and_bolt: Other
|
|
822
|
-
|
|
823
|
-
- [#3557](https://github.com/mochajs/mocha/issues/3557): Use `ms` userland module instead of hand-rolled solution ([**@gizemkeser**](https://github.com/gizemkeser))
|
|
824
|
-
- Many CI fixes and other refactors by [**@plroebuck**](https://github.com/plroebuck)
|
|
825
|
-
- Test refactors by [**@outsideris**](https://github.com/outsideris)
|
|
826
|
-
|
|
827
|
-
# 5.2.0 / 2018-05-18
|
|
828
|
-
|
|
829
|
-
## :tada: Enhancements
|
|
830
|
-
|
|
831
|
-
- [#3375](https://github.com/mochajs/mocha/pull/3375): Add support for comments in `mocha.opts` ([@plroebuck](https://github.com/plroebuck))
|
|
832
|
-
|
|
833
|
-
## :bug: Fixes
|
|
834
|
-
|
|
835
|
-
- [#3346](https://github.com/mochajs/mocha/pull/3346): Exit correctly from `before` hooks when using `--bail` ([@outsideris](https://github.com/outsideris))
|
|
836
|
-
|
|
837
|
-
## :book: Documentation
|
|
838
|
-
|
|
839
|
-
- [#3328](https://github.com/mochajs/mocha/pull/3328): Mocha-flavored [API docs](https://mochajs.org/api/)! ([@Munter](https://github.com/munter))
|
|
840
|
-
|
|
841
|
-
## :nut_and_bolt: Other
|
|
842
|
-
|
|
843
|
-
- [#3330](https://github.com/mochajs/mocha/pull/3330): Use `Buffer.from()` ([@harrysarson](https://github.com/harrysarson))
|
|
844
|
-
- [#3295](https://github.com/mochajs/mocha/pull/3295): Remove redundant folder ([@DavNej](https://github.com/DajNev))
|
|
845
|
-
- [#3356](https://github.com/mochajs/mocha/pull/3356): Refactoring ([@plroebuck](https://github.com/plroebuck))
|
|
846
|
-
|
|
847
|
-
# 5.1.1 / 2018-04-18
|
|
848
|
-
|
|
849
|
-
## :bug: Fixes
|
|
850
|
-
|
|
851
|
-
- [#3325](https://github.com/mochajs/mocha/issues/3325): Revert change which broke `--watch` ([@boneskull](https://github.com/boneskull))
|
|
852
|
-
|
|
853
|
-
# 5.1.0 / 2018-04-12
|
|
854
|
-
|
|
855
|
-
## :tada: Enhancements
|
|
856
|
-
|
|
857
|
-
- [#3210](https://github.com/mochajs/mocha/pull/3210): Add `--exclude` option ([@metalex9](https://github.com/metalex9))
|
|
858
|
-
|
|
859
|
-
## :bug: Fixes
|
|
860
|
-
|
|
861
|
-
- [#3318](https://github.com/mochajs/mocha/pull/3318): Fix failures in circular objects in JSON reporter ([@jeversmann](https://github.com/jeversmann), [@boneskull](https://github.com/boneskull))
|
|
862
|
-
|
|
863
|
-
## :book: Documentation
|
|
864
|
-
|
|
865
|
-
- [#3323](https://github.com/mochajs/mocha/pull/3323): Publish actual [API documentation](https://mochajs.org/api/)! ([@dfberry](https://github.com/dfberry), [@Munter](https://github.com/munter))
|
|
866
|
-
- [#3299](https://github.com/mochajs/mocha/pull/3299): Improve docs around exclusive tests ([@nicgirault](https://github.com/nicgirault))
|
|
867
|
-
|
|
868
|
-
## :nut_and_bolt: Other
|
|
869
|
-
|
|
870
|
-
- [#3302](https://github.com/mochajs/mocha/pull/3302), [#3308](https://github.com/mochajs/mocha/pull/3308), [#3310](https://github.com/mochajs/mocha/pull/3310), [#3315](https://github.com/mochajs/mocha/pull/3315), [#3316](https://github.com/mochajs/mocha/pull/3316): Build matrix improvements ([more info](https://boneskull.com/mocha-and-travis-ci-build-stages/)) ([@outsideris](https://github.com/outsideris), [@boneskull](https://github.com/boneskull))
|
|
871
|
-
- [#3272](https://github.com/mochajs/mocha/pull/3272): Refactor reporter tests ([@jMuzsik](https://github.com/jMuzsik))
|
|
872
|
-
|
|
873
|
-
# 5.0.5 / 2018-03-22
|
|
874
|
-
|
|
875
|
-
Welcome [@outsideris](https://github.com/outsideris) to the team!
|
|
876
|
-
|
|
877
|
-
## :bug: Fixes
|
|
878
|
-
|
|
879
|
-
- [#3096](https://github.com/mochajs/mocha/issues/3096): Fix `--bail` failing to bail within hooks ([@outsideris](https://github.com/outsideris))
|
|
880
|
-
- [#3184](https://github.com/mochajs/mocha/issues/3184): Don't skip too many suites (using `describe.skip()`) ([@outsideris](https://github.com/outsideris))
|
|
881
|
-
|
|
882
|
-
## :book: Documentation
|
|
883
|
-
|
|
884
|
-
- [#3133](https://github.com/mochajs/mocha/issues/3133): Improve docs regarding "pending" behavior ([@ematicipo](https://github.com/ematicipo))
|
|
885
|
-
- [#3276](https://github.com/mochajs/mocha/pull/3276), [#3274](https://github.com/mochajs/mocha/pull/3274): Fix broken stuff in `CHANGELOG.md` ([@tagoro9](https://github.com/tagoro9), [@honzajavorek](https://github.com/honzajavorek))
|
|
886
|
-
|
|
887
|
-
## :nut_and_bolt: Other
|
|
888
|
-
|
|
889
|
-
- [#3208](https://github.com/mochajs/mocha/issues/3208): Improve test coverage for AMD users ([@outsideris](https://github.com/outsideris))
|
|
890
|
-
- [#3267](https://github.com/mochajs/mocha/pull/3267): Remove vestiges of PhantomJS from CI ([@anishkny](https://github.com/anishkny))
|
|
891
|
-
- [#2952](https://github.com/mochajs/mocha/issues/2952): Fix a debug message ([@boneskull](https://github.com/boneskull))
|
|
892
|
-
|
|
893
|
-
# 5.0.4 / 2018-03-07
|
|
894
|
-
|
|
895
|
-
## :bug: Fixes
|
|
896
|
-
|
|
897
|
-
- [#3265](https://github.com/mochajs/mocha/issues/3265): Fixes regression in "watch" functionality introduced in v5.0.2 ([@outsideris](https://github.com/outsideris))
|
|
898
|
-
|
|
899
|
-
# 5.0.3 / 2018-03-06
|
|
900
|
-
|
|
901
|
-
This patch features a fix to address a potential "low severity" [ReDoS vulnerability](https://snyk.io/vuln/npm:diff:20180305) in the [diff](https://npm.im/diff) package (a dependency of Mocha).
|
|
902
|
-
|
|
903
|
-
## :lock: Security Fixes
|
|
904
|
-
|
|
905
|
-
- [#3266](https://github.com/mochajs/mocha/pull/3266): Bump `diff` to v3.5.0 ([@anishkny](https://github.com/anishkny))
|
|
906
|
-
|
|
907
|
-
## :nut_and_bolt: Other
|
|
908
|
-
|
|
909
|
-
- [#3011](https://github.com/mochajs/mocha/issues/3011): Expose `generateDiff()` in `Base` reporter ([@harrysarson](https://github.com/harrysarson))
|
|
910
|
-
|
|
911
|
-
# 5.0.2 / 2018-03-05
|
|
912
|
-
|
|
913
|
-
This release fixes a class of tests which report as _false positives_. **Certain tests will now break**, though they would have previously been reported as passing. Details below. Sorry for the inconvenience!
|
|
914
|
-
|
|
915
|
-
## :bug: Fixes
|
|
916
|
-
|
|
917
|
-
- [#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:
|
|
918
|
-
|
|
919
|
-
\`\`\`js
|
|
920
|
-
it('should actually fail, sorry!', function (done) {
|
|
921
|
-
// passing assertion
|
|
922
|
-
assert(true === true);
|
|
923
|
-
|
|
924
|
-
// test complete & is marked as passing
|
|
925
|
-
done();
|
|
926
|
-
|
|
927
|
-
// ...but something evil lurks within
|
|
928
|
-
setTimeout(() => {
|
|
929
|
-
throw new Error('chaos!');
|
|
930
|
-
}, 100);
|
|
931
|
-
});
|
|
932
|
-
\`\`\`
|
|
933
|
-
|
|
934
|
-
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.
|
|
935
|
-
|
|
936
|
-
**Maintainers of external reporters**: _If_ a test of this class is encountered, the `Runner` instance will emit the `end` event _twice_; you _may_ need to change your reporter to use `runner.once('end')` intead of `runner.on('end')`.
|
|
937
|
-
|
|
938
|
-
- [#3093](https://github.com/mochajs/mocha/issues/3093): Fix stack trace reformatting problem ([@outsideris](https://github.com/outsideris))
|
|
939
|
-
|
|
940
|
-
## :nut_and_bolt: Other
|
|
941
|
-
|
|
942
|
-
- [#3248](https://github.com/mochajs/mocha/issues/3248): Update `browser-stdout` to v1.3.1 ([@honzajavorek](https://github.com/honzajavorek))
|
|
943
|
-
|
|
944
|
-
# 5.0.1 / 2018-02-07
|
|
945
|
-
|
|
946
|
-
...your garden-variety patch release.
|
|
947
|
-
|
|
948
|
-
Special thanks to [Wallaby.js](https://wallabyjs.com) for their continued support! :heart:
|
|
949
|
-
|
|
950
|
-
## :bug: Fixes
|
|
951
|
-
|
|
952
|
-
- [#1838](https://github.com/mochajs/mocha/issues/1838): `--delay` now works with `.only()` ([@silviom](https://github.com/silviom))
|
|
953
|
-
- [#3119](https://github.com/mochajs/mocha/issues/3119): Plug memory leak present in v8 ([@boneskull](https://github.com/boneskull))
|
|
954
|
-
|
|
955
|
-
## :book: Documentation
|
|
956
|
-
|
|
957
|
-
- [#3132](https://github.com/mochajs/mocha/issues/3132), [#3098](https://github.com/mochajs/mocha/issues/3098): Update `--glob` docs ([@outsideris](https://github.com/outsideris))
|
|
958
|
-
- [#3212](https://github.com/mochajs/mocha/pull/3212): Update [Wallaby.js](https://wallabyjs.com)-related docs ([@ArtemGovorov](https://github.com/ArtemGovorov))
|
|
959
|
-
- [#3205](https://github.com/mochajs/mocha/pull/3205): Remove outdated cruft ([@boneskull](https://github.com/boneskull))
|
|
960
|
-
|
|
961
|
-
## :nut_and_bolt: Other
|
|
962
|
-
|
|
963
|
-
- [#3224](https://github.com/mochajs/mocha/pull/3224): Add proper Wallaby.js config ([@ArtemGovorov](https://github.com/ArtemGovorov))
|
|
964
|
-
- [#3230](https://github.com/mochajs/mocha/pull/3230): Update copyright year ([@josephlin55555](https://github.com/josephlin55555))
|
|
965
|
-
|
|
966
|
-
# 5.0.0 / 2018-01-17
|
|
967
|
-
|
|
968
|
-
Mocha starts off 2018 right by again dropping support for _unmaintained rubbish_.
|
|
969
|
-
|
|
970
|
-
Welcome [@vkarpov15](https://github.com/vkarpov15) to the team!
|
|
971
|
-
|
|
972
|
-
## :boom: Breaking Changes
|
|
973
|
-
|
|
974
|
-
- **[#3148](https://github.com/mochajs/mocha/issues/3148): Drop support for IE9 and IE10** ([@Bamieh](https://github.com/Bamieh))
|
|
975
|
-
Practically speaking, only code which consumes (through bundling or otherwise) the userland [buffer](https://npm.im/buffer) module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes for them.
|
|
976
|
-
|
|
977
|
-
## :tada: Enhancements
|
|
978
|
-
|
|
979
|
-
- [#3181](https://github.com/mochajs/mocha/issues/3181): Add useful new `--file` command line argument ([documentation](https://mochajs.org/#--file-file)) ([@hswolff](https://github.com/hswolff))
|
|
980
|
-
|
|
981
|
-
## :bug: Fixes
|
|
982
|
-
|
|
983
|
-
- [#3187](https://github.com/mochajs/mocha/issues/3187): Fix inaccurate test duration reporting ([@FND](https://github.com/FND))
|
|
984
|
-
- [#3202](https://github.com/mochajs/mocha/pull/3202): Fix bad markup in HTML reporter ([@DanielRuf](https://github.com/DanielRuf))
|
|
985
|
-
|
|
986
|
-
## :sunglasses: Developer Experience
|
|
987
|
-
|
|
988
|
-
- [#2352](https://github.com/mochajs/mocha/issues/2352): Ditch GNU Make for [nps](https://npm.im/nps) to manage scripts ([@TedYav](https://github.com/TedYav))
|
|
989
|
-
|
|
990
|
-
## :book: Documentation
|
|
991
|
-
|
|
992
|
-
- [#3137](https://github.com/mochajs/mocha/issues/3137): Add missing `--no-timeouts` docs ([@dfberry](https://github.com/dfberry))
|
|
993
|
-
- [#3134](https://github.com/mochajs/mocha/issues/3134): Improve `done()` callback docs ([@maraisr](https://github.com/maraisr))
|
|
994
|
-
- [#3135](https://github.com/mochajs/mocha/issues/3135): Fix cross-references ([@vkarpov15](https://github.com/vkarpov15))
|
|
995
|
-
- [#3163](https://github.com/mochajs/mocha/pull/3163): Fix tpyos ([@tbroadley](https://github.com/tbroadley))
|
|
996
|
-
- [#3177](https://github.com/mochajs/mocha/pull/3177): Tweak `README.md` organization ([@xxczaki](https://github.com/xxczaki))
|
|
997
|
-
- Misc updates ([@boneskull](https://github.com/boneskull))
|
|
998
|
-
|
|
999
|
-
## :nut_and_bolt: Other
|
|
1000
|
-
|
|
1001
|
-
- [#3118](https://github.com/mochajs/mocha/issues/3118): Move TextMate Integration to [its own repo](https://github.com/mochajs/mocha.tmbundle) ([@Bamieh](https://github.com/Bamieh))
|
|
1002
|
-
- [#3185](https://github.com/mochajs/mocha/issues/3185): Add Node.js v9 to build matrix; remove v7 ([@xxczaki](https://github.com/xxczaki))
|
|
1003
|
-
- [#3172](https://github.com/mochajs/mocha/issues/3172): Markdown linting ([@boneskull](https://github.com/boneskull))
|
|
1004
|
-
- Test & Netlify updates ([@Munter](https://github.com/munter), [@boneskull](https://github.com/boneskull))
|