karma-assertive-chai

1.0.1 • Public • Published

karma-assertive-chai

Assertive Chai for Karma

NPM version

(based on https://github.com/xdissent/karma-chai)

Installation

Install the plugin from npm:

$ npm install karma-assertive-chai --save-dev

Or from Github:

$ npm install 'git+https://github.com/4lejandrito/karma-assertive-chai.git' --save-dev

Add assertive-chai to the frameworks key in your Karma configuration:

module.exports = (config) ->
  config.set
 
    # frameworks to use 
    frameworks: ['mocha''assertive-chai']
 
    # ... 

Usage

The assert suites is available in the tests:

describe 'karma tests with chai'->
 
  it 'should expose the Chai assert method'->
    assert.ok('everything''everything is ok');

License

The MIT License (MIT)

Package Sidebar

Install

npm i karma-assertive-chai

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • 4lejandrito