Skip to content
Projetos

mochajs/mocha-examples

Ver no GitHub

Sobre

Working examples of common configurations using mocha ☕️

Aprendizado e educação

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Mocha examples

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

Chat - Discord Maintained with Lerna Open Collective Sponsors Open Collective Backers

Examples

The most straightforward example is "Hello World". Additional examples include:

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).

Linting

There is generally no linting requirement for each example, but we recommend running prettier. You can install and run it with:

npm install prettier
prettier --write .

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.

Explore projetos relacionados

Carregando…