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

karma-mocha

v1.7.1arrow_drop_down
v1.7.1
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
1,757
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A year ago
SIZE
N/A
Karma and Mocha testing environment for Bit
2 contributors
Install karma-mocha as a package?
Copied
npm i @bit/bit.envs.testers.karma-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 testing environment for components using karma.

Bit testing environment for testing of components using Karma, with Mocha and ChaiJS.

How to use?

import the environment

bit import bit.envs/testers/karma-mocha -t

What’s inside?

Reconfiguring this environment

In case the configuration presets in the karma.conf.js file 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.