Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

mocha

v8.1.3arrow_drop_down
v8.1.3
v5.0.2
v0.0.17
v0.0.16
v0.0.15
v0.0.14
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
101,657
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A week ago
SIZE
N/A
A bit testing environment for mocha.
5 contributors
Install mocha as a package?
Copied
npm i @bit/bit.envs.testers.mocha
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

A bit testing environment for mocha and chai.

Bit testing environment for testing of bit components using Mocha.

How to use?

import the environment

bit import bit.envs/testers/mocha -t

Then test your component using bit test.

bit test

What’s inside?

  • Test components using Mocha (^5.0.2)

Reconfiguring this environment

In case the configuration presets of this component are not well suited to your needs, follow these steps to modify it.

Got any issues or questions?

Collaboration on this Bit environment happens in this repository. Please open an issue or submit pull request there.