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
- Karma (^1.7.1)
- Mocha (^5.0.2)
- Sinon (^3.3.0)
- Chai (^4.1.2) integrated with Sinon to ease mock assertions using sinon-chai (^2.14.0)
- Tests run on
Chrome Headlessbrowser using puppeteer.
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.