Karma Mocha Adapter
JSON →karma-mocha is an adapter plugin that integrates the Mocha testing framework with Karma, a test runner for JavaScript. It allows developers to run their Mocha-based tests in various browsers and environments through Karma's powerful test execution capabilities. The current stable version is 2.0.1, released in April 2020. While the package has not seen frequent updates since then, its core functionality remains stable and widely used within the Karma ecosystem. Key differentiators include its seamless integration with Karma's configuration, enabling browser-based testing for Mocha tests, and options for passing specific Mocha CLI arguments (like `grep` or `reporter`) directly through Karma's client-side configuration. It abstracts away the complexities of running Mocha tests across different browsers, providing a consistent testing environment.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany