a-fina / mocha-examples

Working examples of common configurations using mocha ☕️

Home Page:https://mochajs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mocha examples

A set of examples to help demontrate common configurations using Mocha. They should all run out-the-box.

Build Status lerna

Examples

Adding a new example

Follow the below steps:

  1. Clone this repo locally
  2. Create your folder under packages/
  3. Run npm init
  4. Now build your application and open a PR (its npm test will automatically be run in CI).

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

  • Angular
  • Pipe json output to file

We welcome suggestions on other useful setups.

About

Working examples of common configurations using mocha ☕️

https://mochajs.org

License:Apache License 2.0


Languages

Language:JavaScript 87.0%Language:HTML 9.2%Language:TypeScript 3.8%