Package Exports
- karma-chai
 
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (karma-chai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
karma-chai
Installation
Install the plugin from npm:
$ npm install karma-chai --save-devOr from Github:
$ npm install 'git+https://github.com/xdissent/karma-chai.git' --save-devAdd chai to the frameworks key in your Karma configuration:
module.exports = (config) ->
  config.set
    # frameworks to use
    frameworks: ['mocha', 'chai']
    # ...Usage
Each of the different Chai assertion suites is available in the tests:
describe 'karma tests with chai', ->
  it 'should expose the Chai assert method', ->
    assert.ok('everything', 'everything is ok');
  it 'should expose the Chai expect method', ->
    expect('foo').to.not.equal 'bar'
  it 'should expose the Chai should property', ->
    1.should.not.equal 2
    should.exist 123License
The MIT License (MIT)


