Packages

mocha

12.0.3 · 1 Oct 2026MIT14.6M / weekRepositoryHomepagenpmAtom feed

Your version

3.3.0

24 Apr 2017Where it was published

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-brk on command-line (@igwejk)

:bug: Fixes

  • Replace unicode chars w/ hex codes in HTML reporter (@rotemdan)

:mag: Coverage

  • Add coverage for node tests ([@c089], [@Munter])

  • 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

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.