mocha 6.2.0
6.2.0 / 2019-07-18
:tada: Enhancements
- #3827: Do not fork child-process if no Node flags are present (@boneskull)
- #3725: Base reporter store ref to console.log, see mocha/wiki (@craigtaub)
:bug: Fixes
- #3960: Don't re-initialize grep option on watch re-run (@geigerzaehler)
- #3942: Fix "No test files found" Error when file is passed via
--file(@gabegorelick) - #3914: Modify Mocha constructor to accept options
globalorglobals(@pascalpp) - #3894: Fix parsing of config files with
_mochabinary (@juergba) - #3834: Fix CLI parsing with default values (@boneskull, @juergba)
- #3831: Fix
--timeout/--slowstring values and duplicate arguments (@boneskull, @juergba)
:book: Documentation
- #3906: Document option to define custom report name for XUnit reporter (@pkuczynski)
- #3889: Adds doc links for mocha-examples (@craigtaub)
- #3887: Fix broken links (@toyjhlee)
- #3841: Fix anchors to configuration section (@trescube)
:mag: Coverage
- #3915, #3929: Increase tests coverage for
--watchoptions (@geigerzaehler)
:nut_and_bolt: Other
- #3953: Collect test files later, prepares improvements to the
--watchmode behavior (@geigerzaehler) - #3939: Upgrade for npm audit (@boneskull)
- #3930: Extract
runWatchinto separate module (@geigerzaehler) - #3922: Add
mocha.min.jsfile to stacktrace filter (@brian-lagerman) - #3919: Update CI config files to use Node-12.x (@plroebuck)
- #3892: Rework reporter tests (@plroebuck)
- #3872: Rename
--excludeto--ignoreand create alias (@boneskull) - #3963: Hide stacktrace when cli args are missing (@outsideris)
- #3956: Do not redeclare variable in docs array example (@DanielRuf)
- #3957: Remove duplicate line-height property in
mocha.css(@DanielRuf)