mocha
Advanced tools
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)Changelog
6.0.2 / 2019-02-25
Two more regressions fixed:
mocha.opts
(@boneskull)--require
does not break on module names that look like certain node
flags (@boneskull)Changelog
6.0.1 / 2019-02-21
The obligatory round of post-major-release bugfixes.
These issues were regressions.
test.js
when run without arguments (@plroebuck)--ui
(@boneskull)--watch
(@boneskull)undefined
value from a describe
callback is no longer considered deprecated (@boneskull)@mocha/docdash@2
(@tendonstrength)Changelog
6.0.0 / 2019-02-18
require
cache (@plroebuck)Suite#_onlyTests
and Suite#_onlySuites
(@vkarpov15)lookupFiles
and files
(@plroebuck)--delay
(and other boolean options) not working in all cases (@boneskull)--reporter-option
/--reporter-options
did not support comma-separated key/value pairs (@boneskull)