{"name":"karma-qunit","version":"0.1.4","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","karma-adapter","qunit"],"author":{"name":"Vojta Jina","email":"vojta.jina@gmail.com"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.6","grunt-karma":"~0.4","grunt-bump":"~0.0.7","grunt-npm":"~0.0.2","grunt-auto-release":"~0.0.2"},"peerDependencies":{"karma":">=0.9","qunitjs":"^1.14.0"},"license":"MIT","contributors":[{"name":"Friedel Ziegelmayer","email":"friedel.ziegelmayer@gmail.com"},{"name":"Aymeric Beaumet","email":"aymeric@beaumet.me"},{"name":"Aymeric Beaumet","email":"aymeric.beaumet@gmail.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":"Timo Tijhof","email":"krinklemail@gmail.com"},{"name":"thenickcox","email":"nick@nickcox.me"}],"bugs":{"url":"https://github.com/karma-runner/karma-qunit/issues"},"homepage":"https://github.com/karma-runner/karma-qunit","_id":"karma-qunit@0.1.4","dist":{"shasum":"76e72d3c9c902d236cc8df107b30e79def630083","tarball":"http://registry-npm.ywwl.com/karma-qunit/download/karma-qunit-0.1.4.tgz","integrity":"sha512-j7NvAOfvGsuywR06ePJso3+XIlHzVUlEcV9dnu5bAfNfL1w+nt6K3fSsSQemXMCvxNIARG64DkGlsnepQTjnow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz4wBVmxRpvoR9/63VhoPH8TWCUeQPQLpXZJ686Bv9TgIhAPHltC7wqeLk7vZJnm81kGiOQzyJ6slcYFdCIGtIJsWz"}],"size":2231,"noattachment":false,"key":"/karma-qunit/-/karma-qunit-0.1.4.tgz"},"_from":".","_npmVersion":"1.4.4","_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":1412117740727,"_cnpm_publish_time":1412117740727,"dist-tags":{"latest":"4.2.3"}}