donejs-mocha

Use Mocha as the testing framework for DoneJS

Usage no npm install needed!

<script type="module">
  import donejsMocha from 'https://cdn.skypack.dev/donejs-mocha';
</script>

README

donejs-mocha

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.