{"name":"karma-qunit","version":"0.0.1","description":"A Karma plugin. Adapter for QUnit testing framework.","main":"lib/index.js","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git://github.com/karma-runner/karma-qunit.git"},"keywords":["karma-plugin","adapter","qunit"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.0rc5","grunt-contrib-jshint":"~0.1.1rc5","karma":"*","karma-jasmine":"*","karma-chrome-launcher":"*","karma-firefox-launcher":"*","grunt-karma":"~0.3"},"peerDependencies":{"karma":"~0.9"},"license":"MIT","_id":"karma-qunit@0.0.1","dist":{"shasum":"22c66fd51bbd201f4ea3320bd9cab38c67e372f2","tarball":"http://registry-npm.ywwl.com/karma-qunit/download/karma-qunit-0.0.1.tgz","integrity":"sha512-v1BSaRBZf1cTkV8GfH093zSiOB8W8RaihOgXE1oFnb9mJLCYoElR1T3cbzMs2RwUZnLTYpyWdDSxFQ0sT5Gs3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCiuItr6cc4hNowjCIEnJMHpCbWuP9z55CaKED3yKVUAiEAs+IW5JyhNyLAxtnSUqOWFq1GPVxf2H31UmfDKsRu5Vc="}],"size":17233,"noattachment":false,"key":"/karma-qunit/-/karma-qunit-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"vojtajina","email":"vojta.jina@gmail.com"},"maintainers":[{"name":"vojtajina","email":"vojta.jina@gmail.com"}],"directories":{},"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":1363734658814,"_cnpm_publish_time":1363734658814,"dist-tags":{"latest":"4.2.3"}}