{"_id":"karma-qunit@4.2.3","bugs":{"url":"https://github.com/karma-runner/karma-qunit/issues"},"dist":{"shasum":"5f9c1d7732ae287c4a678f87e8f1c327acf5271a","tarball":"http://registry-npm.ywwl.com/karma-qunit/download/karma-qunit-4.2.3.tgz","fileCount":5,"integrity":"sha512-FnTB4Tv/7kFPQVJwDy2wCZE45bfxvj68Nt9iHVYeIUCC8tUTEaaI8cojigFbJA9lA7OLKZWA95YpLHXSGelWsg==","signatures":[{"sig":"MEUCIDr/Sny805VSoeU6m10dVC+PuDM3eX02FFrBT86/sOnDAiEAv71ocbNregfckFIcpW3HnT0ZSsVuDKkekppS9HRrpUM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDDsgyrupOv5MeUrnR2WO7yDfw4bO28uI8IeFBDWT4x1gIhAKesLhntR5cGn35VanctYM5BOtzOaMMdHY8UXqQAEmEZ"}],"unpackedSize":9806,"size":4157,"noattachment":false,"key":"/karma-qunit/-/karma-qunit-4.2.3.tgz"},"main":"lib/index.js","name":"karma-qunit","author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"gitHead":"a7baf5d00b80f323e86252572a7f8a77181f9ed6","license":"MIT","scripts":{"lint":"eslint --cache .","test":"npm run lint && npm run build && npm run unit","unit":"qunit test/","build":"grunt build","lint-fix":"eslint --cache --fix ."},"version":"4.2.3","_npmUser":{"name":"krinkle","email":"krinkle@fastmail.com"},"homepage":"https://github.com/karma-runner/karma-qunit#readme","keywords":["karma","karma-plugin","karma-adapter","qunit"],"repository":{"url":"git://github.com/karma-runner/karma-qunit.git","type":"git"},"_npmVersion":"11.19.0","description":"A Karma plugin. Adapter for QUnit testing framework.","directories":{},"maintainers":[{"name":"krinkle","email":"krinkle@fastmail.com"},{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},{"name":"vojtajina","email":"vojta.jina+npm@gmail.com"},{"name":"karmarunnerbot","email":"karmarunnerbot@gmail.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"_nodeVersion":"24.21.0","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":"Timo Tijhof","email":"krinkle@fastmail.com"},{"name":"johnjbarton","email":"johnjbarton@johnjbarton.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"}],"dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"grunt":"^1.4.1","karma":"^6.3.9","qunit":"^2.26.0 || ^3.0.0","sinon":"^12.0.1","eslint":"^7.32.0","grunt-npm":"0.0.2","grunt-bump":"^0.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.25.3","karma-mocha-reporter":"^2.2.5","eslint-plugin-promise":"^5.2.0","eslint-config-standard":"^15.0.1","eslint-plugin-standard":"^4.1.0","karma-firefox-launcher":"^2.1.2"},"peerDependencies":{"karma":"^4.0.0 || ^5.0.0 || ^6.0.0","qunit":">=2.2.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/karma-qunit_4.2.3_1790650051015_0.3051473793150816"},"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)\n[![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)\n[![Tested with QUnit](https://qunitjs.com/testedwith.svg)](https://qunitjs.com/)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen?style=flat-square)](https://github.com/karma-runner/karma-qunit)\n[![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":1790650051118,"_cnpm_publish_time":1790650051118,"dist-tags":{"latest":"4.2.3"}}