Mocha
Mocha is the classic, reliable, trusted test framework for Node.js and the browser that was created in 2011. I’ve been a maintainer since August 2025, so I’m certainly no expert yet, but I’ve enjoyed learning and working to improve this framework that so many projects rely on.
Priorities
- Modernization: ESM support, modern Node versions, good dependencies
- Stability: Test coverage, backporting fixes, minimal breaking changes
My key contributions
- Fixed critical
require(ESM)bug (#5498) - Monitored and improved CI pipeline reliability (#5361)
- Oversaw rewrite of “watch mode” logic (#5409)
My roadmap for Mocha
You can view my prioritized backlog, but in summary:
- Release Mocha 12, supporting
require(ESM)and much more - Bugfixes, bugfixes, bugfixes!
- Add project automation for stale issues, security reports, and more (#5601)
- Document broader project resources (#5639)
Subprojects
Within the realm of bugfixes lies a treasure trove of research to be conducted. Some areas I’m focusing on:
See also Software - markwiemer.com