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
Changelog
6.1.3 / 2019-04-11
yargs
-related global scope pollution (@inukshuk)pnpm
(@boneskull)Changelog
6.1.2 / 2019-04-08
Changelog
6.1.1 / 2019-04-07
Changelog
6.1.0 / 2019-04-07
options
parameter (@plroebuck).jsonc
extension (@sstephant)These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
this.skip()
in "before each" hooks (@juergba)--allow-uncaught
for uncaught exceptions thrown inside hooks (@givanse)and some regressions:
Suite
cloning by copying root
property (@fatso83)