mocha
Advanced tools
Changelog
7.2.0 / 2020-05-22
--forbid-only
does not recognize it.only
when before
crashes (@arvidOtt)Changelog
7.1.2 / 2020-04-26
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