{"name":"karma-qunit","version":"0.1.6","description":"A Karma plugin. Adapter for QUnit testing framework.","main":"lib/index.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/karma-runner/karma-qunit.git"},"keywords":["karma","karma-plugin","karma-adapter","qunit"],"files":["lib"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"eslint":"^0.24.1","eslint-config-standard":"^3.4.1","grunt":"^0.4.5","grunt-bump":"^0.3.1","grunt-eslint":"^16.0.0","grunt-karma":"^0.12.0","grunt-npm":"0.0.2","jasmine-core":"^2.3.4","karma":"^0.13.3","karma-chrome-launcher":"^0.2.0","karma-firefox-launcher":"^0.1.6","karma-jasmine":"^0.3.6","load-grunt-tasks":"^3.2.0","qunitjs":"^1.18.0"},"peerDependencies":{"qunitjs":"^1.14.0"},"license":"MIT","contributors":[{"name":"Matt DuVall","email":"matt@stripe.com"},{"name":"Friedel Ziegelmayer","email":"friedel.ziegelmayer@gmail.com"},{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Aymeric Beaumet","email":"aymeric@beaumet.me"},{"name":"Timo Tijhof","email":"krinklemail@gmail.com"},{"name":"Aymeric Beaumet","email":"aymeric.beaumet@gmail.com"},{"name":"thenickcox","email":"nick@nickcox.me"},{"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"}],"gitHead":"2fc83df15f86d9c3ba3aaf1182616865aed48845","bugs":{"url":"https://github.com/karma-runner/karma-qunit/issues"},"homepage":"https://github.com/karma-runner/karma-qunit#readme","_id":"karma-qunit@0.1.6","_shasum":"1bd3a4075a91b4eaa01a1179290696db6e76f9b8","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.1.2","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"dist":{"shasum":"1bd3a4075a91b4eaa01a1179290696db6e76f9b8","tarball":"http://registry-npm.ywwl.com/karma-qunit/download/karma-qunit-0.1.6.tgz","integrity":"sha512-1PpQZ4L4Yos6fRlOgzDnJaVL0hPQ7iE6oKZ0roAauzQpklQiA88rj7Ker0fSpC2REpsvZipdZT8mO9YIoWBv6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhi/KzQa09X/L5RhnKwB8oFpRsv9OnHOunMIHxofWOwQIgLJcnytdEnTHo7GucYzb9Sgx03JfvTsa78BJL+xEje40="}],"size":3533,"noattachment":false,"key":"/karma-qunit/-/karma-qunit-0.1.6.tgz"},"maintainers":[{"name":"vojtajina","email":"vojta.jina+npm@gmail.com"},{"name":"zzo","email":"mark@zzo.com"},{"name":"dignifiedquire","email":"dignifiedquire@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":1445531681635,"_cnpm_publish_time":1445531681635,"dist-tags":{"latest":"4.2.3"}}