Changelog
7.1.0 / 2020-02-26
#4038: Add Node.js native ESM support (@giltayar)
Mocha supports writing your test files as ES modules:
--experimental-modules
optionNote: Node.JS native ECMAScript Modules implementation has status: Stability: 1 - Experimental
allowUncaught
option (@juergba)package.json
(@outsideris)Changelog
7.0.1 / 2020-01-25
reporterOptions
(@holm)Changelog
7.0.0 / 2020-01-05
--debug
/--debug-brk
and deprecate debug
argument (@juergba)--list-interfaces
replaces --interfaces
--list-reporters
replaces --reporters
this.skip()
(@juergba):
getOptions()
and lib/cli/options.js
(@juergba)pending
test: don't swallow, but retrospectively fail the test for correct exit code (@juergba)Mocha
constructor's option names with command-line options (@juergba)--watch
mode with chokidar (@geigerzaehler):
--watch-files
and --watch-ignore
--watch-extensions
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
--inspect-brk
/--inspect
(@juergba)Mocha
constructor: improve browser setup (@juergba)--allow-uncaught
with this.skip()
(@juergba)done()
(@jgehrcke):coffee:
with emoji ☕️ (@pzrq)sh
to bash
for code block in docs/index.md (@HyunSangHan)Changelog
6.2.2 / 2019-10-18
EVENT_RUN_END
events upon uncaught exception (@juergba)html
reporter (browser) (@pec9399)Changelog
6.2.1 / 2019-09-29
Changelog
6.2.0 / 2019-07-18
--file
(@gabegorelick)global
or globals
(@pascalpp)_mocha
binary (@juergba)--timeout
/--slow
string values and duplicate arguments (@boneskull, @juergba)--watch
options (@geigerzaehler)--watch
mode behavior (@geigerzaehler)runWatch
into separate module (@geigerzaehler)mocha.min.js
file to stacktrace filter (@brian-lagerman)--exclude
to --ignore
and create alias (@boneskull)mocha.css
(@DanielRuf)Changelog
6.1.4 / 2019-04-18