{"library":"mocha-loader","type":"library","category":null,"description":"A webpack loader that allows Mocha tests to be bundled and run via webpack. Current stable version is 5.1.5 (October 2020), supporting mocha ^5.0.0 to ^8.0.0 and webpack ^4.0.0 || ^5.0.0. It is maintained under the webpack-contrib organization. Key differentiator: integrates Mocha testing into the webpack build pipeline, enabling module resolution, loaders, and plugins for test files. No options are needed; simply apply the loader to test files. Note: v5.0.0 dropped support for the node target (only works in browser-like environments). Release cadence is sporadic; last release over 3 years ago.","language":"javascript","status":"maintenance","version":"5.1.5","tags":["javascript","webpack","mocha"],"install":[{"cmd":"npm install mocha-loader","imports":["import test from 'mocha-loader!./test.js'","module.exports = { module: { rules: [ { test: /\\.test\\.js$/, use: 'mocha-loader' } ] } }","import 'mocha-loader!./test.js'"]},{"cmd":"yarn add mocha-loader","imports":[]},{"cmd":"pnpm add mocha-loader","imports":[]}],"homepage":null,"github":"https://github.com/webpack-contrib/mocha-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/mocha-loader","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/mocha-loader/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}