{"name":"karma-qunit","version":"4.2.0","description":"A Karma plugin. Adapter for QUnit testing framework.","main":"lib/index.js","scripts":{"build":"grunt build","lint":"eslint .","karma":"npm run karma:adapter && npm run karma:simplequnit","karma:adapter":"karma start karma.conf.js --single-run","karma:simplequnit":"karma start examples/simple/karma.conf.js --single-run","mocha":"mocha test/lib","test":"npm run lint && npm run build && npm run karma && npm run mocha"},"repository":{"type":"git","url":"git://github.com/karma-runner/karma-qunit.git"},"bugs":{"url":"https://github.com/karma-runner/karma-qunit/issues"},"homepage":"https://github.com/karma-runner/karma-qunit#readme","keywords":["karma","karma-plugin","karma-adapter","qunit"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"chai":"^4.3.4","eslint":"^7.32.0","eslint-config-standard":"^15.0.1","eslint-plugin-import":"^2.25.3","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.2.0","eslint-plugin-standard":"^4.1.0","grunt":"^1.4.1","grunt-bump":"^0.8.0","grunt-npm":"0.0.2","karma":"^6.3.9","karma-firefox-launcher":"^2.1.2","karma-jasmine":"^4.0.1","mocha":"^9.1.3","qunit":"^2.17.2"},"peerDependencies":{"karma":"^4.0.0 || ^5.0.0 || ^6.0.0","qunit":"^2.1.1"},"license":"MIT","contributors":[{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"XhmikosR","email":"xhmikosr@gmail.com"},{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},{"name":"dependabot[bot]","email":"49699333+dependabot[bot]@users.noreply.github.com"},{"name":"johnjbarton","email":"johnjbarton@johnjbarton.com"},{"name":"Timo Tijhof","email":"krinkle@fastmail.com"},{"name":"Matt DuVall","email":"matt@stripe.com"},{"name":"masubi","email":"justin.masui@gmail.com"},{"name":"Johann-S","email":"johann.servoire@gmail.com"},{"name":"Aymeric Beaumet","email":"hi@aymericbeaumet.com"},{"name":"Mark Ethan Trostler","email":"mark@zzo.com"},{"name":"Stefan Sechelmann","email":"stefan@sechel.de"},{"name":"Aliaksei Sapach","email":"dreamsonic@tut.by"},{"name":"Ulrich Block","email":"u.block@sap.com"},{"name":"Brian Donovan","email":"donovan@squareup.com"},{"name":"Daniel Herman","email":"daniel.c.herman@gmail.com"},{"name":"Kristof Neirynck","email":"k.neirynck@gmail.com"},{"name":"Marcin Szczepanski","email":"mszczepanski@atlassian.com"},{"name":"Sahat Yalkabov","email":"sakhat@gmail.com"},{"name":"Stefan Dragnev","email":"dragnev@telerik.com"},{"name":"Tim Robertson","email":"trobertson@spredfast.com"},{"name":"Volker Buzek","email":"volker.buzek@js-soft.com"},{"name":"pallxk","email":"github@pallxk.com"},{"name":"thenickcox","email":"nick@nickcox.me"}],"_id":"karma-qunit@4.2.0","gitHead":"659feab3039653e89722ac3d01fb48144a398ab8","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-DwHvcZkDH2HpxqYJ9V+h2Zxq/mjIzl1lIyq948niqn+i9j/EIq+2ViLFiaFZbDrs5cA36DfWgSOYyBpscvznMg==","shasum":"fce4358642a6987f58df370e6bfc8d3da580443b","tarball":"http://registry-npm.ywwl.com/karma-qunit/download/karma-qunit-4.2.0.tgz","fileCount":5,"unpackedSize":10352,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3yCvmbFSEVklL7y4xmeCR3Wxg8V4/Tsfa6zBjTh9zMAIgPYBTbpag9OXDKyHNpWgSmmqJkFMh1kwwJdD//8sQ0RQ="}],"size":4244,"noattachment":false,"key":"/karma-qunit/-/karma-qunit-4.2.0.tgz"},"_npmUser":{"name":"krinkle","email":"krinkle@fastmail.com"},"directories":{},"maintainers":[{"name":"krinkle","email":"krinkle@fastmail.com"},{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},{"name":"zzo","email":"mark@zzo.com"},{"name":"vojtajina","email":"vojta.jina+npm@gmail.com"},{"name":"karmarunnerbot","email":"karmarunnerbot@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/karma-qunit_4.2.0_1707838798156_0.9229513334842243"},"_hasShrinkwrap":false,"readme":"# karma-qunit\n\n[![npm version](https://img.shields.io/npm/v/karma-qunit?style=flat-square&logo=npm&logoColor=fff)](https://www.npmjs.com/package/karma-qunit) [![Build Status](https://img.shields.io/github/actions/workflow/status/karma-runner/karma-qunit/test.yml?style=flat-square&logo=github&branch=master)](https://github.com/karma-runner/karma-qunit/actions/workflows/test.yml?query=workflow%3ATests+branch%3Amaster) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen?style=flat-square)](https://github.com/karma-runner/karma-qunit) [![npm downloads](https://img.shields.io/npm/dm/karma-qunit?style=flat-square)](https://www.npmjs.com/package/karma-qunit)\n\n> Adapter for the [QUnit](https://qunitjs.com/) testing framework.\n\n## Installation\n\nThe easiest way is to keep `karma-qunit` as a devDependency in your `package.json` by running\n\n```bash\nnpm install karma-qunit --save-dev\n```\n\n## Configuration\n\nAdd `qunit` in the `frameworks` array in your `karma.conf.js` file. Then, in the `plugins`\narray, add `karma-qunit`. The following code shows the default configuration:\n\n```js\n// karma.conf.js\nmodule.exports = function (config) {\n  config.set({\n    frameworks: ['qunit'],\n    plugins: ['karma-qunit'],\n    files: [\n      '*.js'\n    ]\n  })\n}\n```\n\nYou can also pass options for `QUnit.config` (documented [here](https://api.qunitjs.com/config/QUnit.config)) as such:\n\n```js\n/// karma.conf.js\nmodule.exports = function (config) {\n  config.set({\n    frameworks: ['qunit'],\n    plugins: ['karma-qunit'],\n    files: [\n      '*.js'\n    ],\n\n    // client configuration\n    client: {\n      clearContext: false,\n      qunit: {\n        showUI: true,\n        testTimeout: 5000\n      }\n    }\n  })\n}\n```\n\nNote: `showUI: true` needs the `clearContext: false` option to display correctly in non-debug mode.\n\n----\n\nFor more information on Karma see the [homepage]. If you're using `karma-qunit` to test Ember.js, you might find Karma's [Ember guide](https://karma-runner.github.io/latest/plus/emberjs.html) helpful.\n\n[homepage]: https://karma-runner.github.io/\n","publish_time":1707838798296,"_cnpm_publish_time":1707838798296,"dist-tags":{"latest":"4.2.3"}}