Testing with mocha mocha is a feature-rich JavaScript test framework running on node and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Hosted on GitHub. Add mocha and should.js to your package.json file as devDependencies. "devDependencies": { "mocha": "*"