Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



24 Commits

Repository files navigation


Greenkeeper badge

Build Status npm version

Use Mocha as the testing framework for DoneJS

From within a DoneJS application directory:

donejs add mocha

This will modify the templates used by the donejs component, module, and supermodel generators so that their tests will use Mocha. It will also overwrite src/test.html and src/test/functional.js to use Mocha. It will not overwrite test files of existing components, modules, or supermodels. It is recommended that you add mocha when you first create a donejs project.