v7.0.0
7.0.0 / 2020-01-05
💥 Breaking Changes
- #3885: Drop Node.js v6.x support (@mojosoeun)
- #3890: Remove Node.js debug-related flags
--debug
/--debug-brk
and deprecatedebug
argument (@juergba) - #3962: Changes to command-line options (@ParkSB):
--list-interfaces
replaces--interfaces
--list-reporters
replaces--reporters
- Hook pattern of
this.skip()
(@juergba): - #3967: Remove deprecated
getOptions()
andlib/cli/options.js
(@juergba) - #4083: Uncaught exception in
pending
test: don't swallow, but retrospectively fail the test for correct exit code (@juergba) - #4004: Align
Mocha
constructor's option names with command-line options (@juergba)
🎉 Enhancements
- #3980: Refactor and improve
--watch
mode with chokidar (@geigerzaehler):- adds command-line options
--watch-files
and--watch-ignore
- removes
--watch-extensions
- adds command-line options
- #3979: Type "rs\n" to restart tests (@broofa)
📠 Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
🐛 Fixes
- #4125: Fix timeout handling with
--inspect-brk
/--inspect
(@juergba) - #4070:
Mocha
constructor: improve browser setup (@juergba) - #4068: XUnit reporter should handle exceptions during diff generation (@rgroothuijsen)
- #4030: Fix
--allow-uncaught
withthis.skip()
(@juergba)
🔍 Coverage
📖 Documentation
- #4129: Fix broken links (@SaeromB)
- #4127: Add reporter alias names to docs (@khg0712)
- #4101: Clarify invalid usage of
done()
(@jgehrcke) - #4092: Replace
:coffee:
with emoji ☕️ (@pzrq) - #4088: Initial draft of project charter (@boneskull)
- #4066: Change
sh
tobash
for code block in docs/index.md (@HyunSangHan) - #4045: Update README.md concerning GraphicsMagick installation (@HyunSangHan)
- #3988: Fix sponsors background color for readability (@outsideris)