{"name":"karma-qunit","version":"4.2.1","keywords":["karma","karma-plugin","karma-adapter","qunit"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"license":"MIT","_id":"karma-qunit@4.2.1","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"}],"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"}],"homepage":"https://github.com/karma-runner/karma-qunit#readme","bugs":{"url":"https://github.com/karma-runner/karma-qunit/issues"},"dist":{"shasum":"f8cbbc40f34e21ac9997d0c13b02ddc6b92cf882","tarball":"http://registry-npm.ywwl.com/karma-qunit/download/karma-qunit-4.2.1.tgz","fileCount":5,"integrity":"sha512-bd4TXH8L7i3hYelRo/5OTlyRiMrSyUpgI94pzkASaD/qjlc1j8liuZeroRS4aA5B7AmnCYQILEsKcSfuaQgcPA==","signatures":[{"sig":"MEUCIQDx6eqgWFcXNJ6LR88hUM0r8refmx8647GtWkCVrHvfmAIgNKw9OxSU2+J30MqeqtR5Ec/1DEyPmPwuxDjcRZXamnU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10353,"size":4248,"noattachment":false,"key":"/karma-qunit/-/karma-qunit-4.2.1.tgz"},"main":"lib/index.js","gitHead":"2ea26f9131cab9ac7f8c92ed396b391aac547ae0","scripts":{"lint":"eslint .","test":"npm run lint && npm run build && npm run karma && npm run mocha","build":"grunt build","karma":"npm run karma:adapter && npm run karma:simplequnit","mocha":"mocha test/lib","karma:adapter":"karma start karma.conf.js --single-run","karma:simplequnit":"karma start examples/simple/karma.conf.js --single-run"},"_npmUser":{"name":"krinkle","email":"krinkle@fastmail.com"},"repository":{"url":"git://github.com/karma-runner/karma-qunit.git","type":"git"},"_npmVersion":"10.8.2","description":"A Karma plugin. Adapter for QUnit testing framework.","directories":{},"_nodeVersion":"22.5.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","grunt":"^1.4.1","karma":"^6.3.9","mocha":"^9.1.3","qunit":"^2.17.2","eslint":"^7.32.0","grunt-npm":"0.0.2","grunt-bump":"^0.8.0","karma-jasmine":"^4.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.25.3","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.1.1"},"_npmOperationalInternal":{"tmp":"tmp/karma-qunit_4.2.1_1724096314884_0.3802563991042829","host":"s3://npm-registry-packages"},"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":1724096315089,"_cnpm_publish_time":1724096315089,"dist-tags":{"latest":"4.2.3"}}