Like
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.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle 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.