Mocha examples
A set of examples to help demontrate common configurations using Mocha. They should all run out-the-box.
Examples
- Async setup with --file
- Babel application
- Karma
- Programmatic usage
- React, webpack
- Selenium application
- Third party reporter
- TypeScript application
- Vue and Puppeteer application
Requirements
Each example application will have its own package dependencies but also a version of Node.js it was designed and built from.
Reporting a bug?
Feel free to send a branch to supply an MCVE from one of the applications.
Potential setups to add in future
- Rest API
- Angular
- async setups (i.e.
--delay
) - Pipe json output to file
- Typescript and Babel combination
We welcome suggestions on other useful setups.