mocha
12.0.3 · 1 Oct 2026MIT14.6M / weekRepositoryHomepagenpmAtom feed
3.5.3 is the newest release of 3.x.
In short
4 new3 fixed11 changed12 internal
Release note
Thanks to all our contributors, maintainers, sponsors, and users! ❤️
As highlights:
We've got coverage now!
Testing is looking less flaky \o/.
No more nitpicking about "mocha.js" build on PRs.
:tada: Enhancements
Adds support for loading reporter from an absolute or relative path ([@sul4bh])
Support
--inspect-brkon command-line (@igwejk)
:bug: Fixes
Replace unicode chars w/ hex codes in HTML reporter (@rotemdan)
:mag: Coverage
Increase tests coverage for landing, min, tap and list reporters ([@craigtaub])
Increase tests coverage for spec + dot reporters ([@craigtaub])
Increase tests coverage for json-stream, markdown and progress reporters ([@craigtaub])
Cover .some() function in utils.js with tests ([@seppevs])
Add tests for loading reporters w/ relative/absolute paths (@sul4bh)
:nut_and_bolt: Other
Remove bin/.eslintrc; ensure execs are linted ([@boneskull])
Update copyright year ([@Scottkao85], [@Munter])
Use trusty container in travis-ci; use "artifacts" addon ([@boneskull])
Avoid test flake in "delay" test ([@boneskull])
Fix "projects" link in README.md ([@boneskull])
Use
semistandarddirectly ([@kt3k])
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.