NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2276 most downloaded on npm
Classic, reliable, trusted test framework for Node.js and the browser
Last release 3 days ago
01 Oct 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
105 versions withdrawn
withdrawn after publishing
15 years old
251 releases · first in 2011
[#3051]: Upgrade Growl to v1.10.3 to fix its peer dep problems ([@dpogue])
[#2493]: The --compilers command-line option is now soft-deprecated and will emit a warning on STDERR. Read this for more info and workarounds ([@Scot…
You might want to read this before filing a new bug! :stuck_out_tongue_closed_eyes:
For more info, please read this article.
node from exiting will do so when run in Mocha. Supply the --exit flag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)stdout: prefix from browser reporter logs (@skeggse)--forbid-pending or --forbid-only is specified (@ScottFreeCode)--compilers command-line option is now soft-deprecated and will emit a warning on STDERR. Read this for more info and workarounds (@ScottFreeCode, @boneskull)One column per quarter.
[#3003]: Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems])
[#3001]: Fix AMD-related failures first appearing in v3.5.1 ([@boneskull])
:mega: Mocha is now sponsoring PDXNode! If you're in the Portland area, come check out the monthly talks and hack nights!
xit export for "require" interface (@solodynamo)--compilers coverage (@ScottFreeCode)[#2860]: Address CVE-2015-8315 via upgrade of debug ([@boneskull])
--forbid-only and --forbid-pending flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! (@charlierudolph)--napi-modules flag (@jupp0r)[#2802]: Remove call to deprecated os.tmpDir ([@makepanic])
Fixed a publishing mishap with git's autocrlf settings.
Fixed a publishing mishap with git's autocrlf settings.
Thanks to all our contributors, maintainers, sponsors, and users! ❤️
Thanks to all our contributors, maintainers, sponsors, and users! ❤️
As highlights:
--inspect-brk on command-line (@igwejk)semistandard directly (@kt3k)Mocha is proud to have joined the JS Foundation. For more information, read the announcement.
Mocha is proud to have joined the JS Foundation. For more information, read the announcement.
Under the foundation, all contributors to Mocha must sign the JS Foundation CLA before their code can be merged. When sending a PR--if you have not already signed the CLA--a friendly bot will ask you to do so.
Mocha remains licensed under the MIT license.
--watch encounters broken symlinks (@villesau)list reporter (@Aldaviva)--inspect flag to CLI help (@ughitsaaron)README.md (@boneskull, @ScottFreeCode, @dasilvacontin)Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.
# 3.1.2 / 2016-10-10 ## :bug: Bug Fix - #2528: Recovery gracefully if an Error's stack property isn't writable ([@boneskull])
Error's stack property isn't writable ([@boneskull])# 3.1.1 / 2016-10-09 ## :bug: Bug Fix - #1417: Don't report done() was called multiple times when it wasn't (@frankleonrose) ## :nut_and_bolt: Other -
done() was called multiple times when it wasn't (@frankleonrose).js files ([@boneskull])Fix broken only()/skip() in IE7/IE8 (@boneskull)
--inspect on command-line (@simov)this.skip() is called (@boneskull)SIGINT encountered; exit code can no longer rollover at 256 (@Munter)only()/skip() in IE7/IE8 (@boneskull)String constructor (more) (@boneskull)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →