{"_id":"karma-chai","_rev":"347706","name":"karma-chai","description":"Chai for Karma","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"alexgorbatchev","email":""},{"name":"xdissent","email":"xdissent@me.com"}],"time":{"modified":"2021-07-07T06:31:13.000Z","created":"2013-08-16T20:22:53.488Z","0.1.0":"2014-02-13T07:05:52.722Z","0.0.2":"2013-10-10T15:29:23.947Z","0.0.1":"2013-08-16T20:22:53.488Z"},"users":{"mswanson1524":true,"mtscout6":true,"bkimminich":true,"dgarlitt":true,"jmrv92":true,"leonardorb":true,"joaojosezinho":true,"arttse":true,"tzsiga":true,"ristostevcev":true,"laurentknauss":true,"anaumidis":true,"dwqs":true,"renishskills":true,"huangshijuan":true},"author":{"name":"Greg Thornton","email":"xdissent@me.com","url":"http://xdissent.com"},"repository":{"type":"git","url":"https://github.com/xdissent/karma-chai.git"},"versions":{"0.1.0":{"name":"karma-chai","description":"Chai for Karma","keywords":["karma","karma-plugin","chai","mocha","should"],"version":"0.1.0","author":{"name":"Greg Thornton","email":"xdissent@me.com","url":"http://xdissent.com"},"contributors":[{"name":"Alex Gorbatchev","url":"https://github.com/alexgorbatchev"},{"name":"Thomas Parisot","url":"https://github.com/oncletom"}],"main":"./index.js","license":"MIT","homepage":"http://xdissent.github.io/karma-chai","repository":{"type":"git","url":"https://github.com/xdissent/karma-chai.git"},"bugs":{"url":"https://github.com/xdissent/karma-chai/issues"},"peerDependencies":{"chai":"*","karma":">=0.10.9"},"_id":"karma-chai@0.1.0","dist":{"shasum":"bee5ad40400517811ae34bb945f762909108b79a","size":2004,"noattachment":false,"key":"/karma-chai/-/karma-chai-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/karma-chai/download/karma-chai-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"maintainers":[{"name":"alexgorbatchev","email":""},{"name":"xdissent","email":"xdissent@me.com"}],"directories":{},"publish_time":1392275152722,"_hasShrinkwrap":false,"_cnpm_publish_time":1392275152722},"0.0.2":{"name":"karma-chai","description":"Chai for Karma","keywords":["karma","karma-plugin","chai","mocha","should"],"version":"0.0.2","author":{"name":"Greg Thornton","email":"xdissent@me.com","url":"http://xdissent.com"},"main":"./index.js","license":"MIT","homepage":"http://xdissent.github.io/karma-chai","repository":{"type":"git","url":"https://github.com/xdissent/karma-chai.git"},"bugs":{"url":"https://github.com/xdissent/karma-chai/issues"},"devDependencies":{"groc":"~0.4.0"},"dependencies":{"chai":"~1.8.1"},"peerDependencies":{"karma":">=0.9"},"_id":"karma-chai@0.0.2","dist":{"shasum":"1c791b04bf9936dfbe6ed3b168c6fa0f5cf6d605","size":1901,"noattachment":false,"key":"/karma-chai/-/karma-chai-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/karma-chai/download/karma-chai-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"xdissent","email":"xdissent@me.com"},"maintainers":[{"name":"alexgorbatchev","email":""},{"name":"xdissent","email":"xdissent@me.com"}],"directories":{},"publish_time":1381418963947,"_hasShrinkwrap":false,"_cnpm_publish_time":1381418963947},"0.0.1":{"name":"karma-chai","description":"Chai for Karma","keywords":["karma","karma-plugin","chai","mocha","should"],"version":"0.0.1","author":{"name":"Greg Thornton","email":"xdissent@me.com","url":"http://xdissent.com"},"main":"./index.js","license":"MIT","homepage":"http://xdissent.github.io/karma-chai","repository":{"type":"git","url":"https://github.com/xdissent/karma-chai.git"},"bugs":{"url":"https://github.com/xdissent/karma-chai/issues"},"devDependencies":{"groc":"~0.4.0"},"dependencies":{"chai":"~1.6.1"},"peerDependencies":{"karma":">=0.9"},"_id":"karma-chai@0.0.1","dist":{"shasum":"c642acbf4fd73e2fcaf11c077af964e5edec5a42","size":1896,"noattachment":false,"key":"/karma-chai/-/karma-chai-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/karma-chai/download/karma-chai-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"xdissent","email":"xdissent@me.com"},"maintainers":[{"name":"alexgorbatchev","email":""},{"name":"xdissent","email":"xdissent@me.com"}],"directories":{},"publish_time":1376684573488,"_hasShrinkwrap":false,"_cnpm_publish_time":1376684573488}},"readme":"karma-chai\n==========\n\n[Chai](http://chaijs.com) for [Karma](http://karma-runner.github.io)\n\n[![NPM version](https://badge.fury.io/js/karma-chai.png)](http://badge.fury.io/js/karma-chai) [![Dependency status](https://david-dm.org/xdissent/karma-chai.png)](https://david-dm.org/xdissent/karma-chai) [![devDependency Status](https://david-dm.org/xdissent/karma-chai/dev-status.png)](https://david-dm.org/xdissent/karma-chai#info=devDependencies)\n\nInstallation\n------------\n\nInstall the plugin from npm:\n\n```sh\n$ npm install karma-chai --save-dev\n```\n\nOr from Github:\n\n```sh\n$ npm install 'git+https://github.com/xdissent/karma-chai.git' --save-dev\n```\n\nAdd `chai` to the `frameworks` key in your Karma configuration:\n\n```coffee\nmodule.exports = (config) ->\n  config.set\n\n    # frameworks to use\n    frameworks: ['mocha', 'chai']\n\n    # ...\n```\n\n\nUsage\n-----\n\nEach of the different Chai assertion suites is available in the tests:\n\n```coffee\ndescribe 'karma tests with chai', ->\n\n  it 'should expose the Chai assert method', ->\n    assert.ok('everything', 'everything is ok');\n\n  it 'should expose the Chai expect method', ->\n    expect('foo').to.not.equal 'bar'\n\n  it 'should expose the Chai should property', ->\n    1.should.not.equal 2\n    should.exist 123\n```\n\nLicense\n-------\n\nThe MIT License (MIT)\n","_attachments":{},"homepage":"http://xdissent.github.io/karma-chai","bugs":{"url":"https://github.com/xdissent/karma-chai/issues"},"license":"MIT"}