{"library":"karma-mocha","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","karma-plugin","karma-adapter","mocha"],"last_verified":"Wed May 27","install":[{"cmd":"npm install karma-mocha","imports":["frameworks: ['mocha']","client: { mocha: { reporter: 'html' } }","client: { mocha: { opts: 'test/mocha.opts' } }"]},{"cmd":"yarn add karma-mocha","imports":[]},{"cmd":"pnpm add karma-mocha","imports":[]}],"homepage":null,"github":"https://github.com/karma-runner/karma-mocha","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/karma-mocha","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/karma-mocha/compatibility"}}