karma-chai-things

0.1.4 • Public • Published

karma-chai-things

for Karma

Requirements

This Karma plugin requires Karma ~0.6 or higher.

Installation

Install the module via npm

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

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

module.exports = function(config) {
  'use strict';
  config.set({
    frameworks: ['mocha', 'chai-things', 'chai'],
    #...
  });
}

Keep in mind that, since Karma loads its frameworks in reverse and chai-things depends on chai, you should declare it accordingly as done above.

karma-chai-things currently does not support AMD/RequireJS, mainly because I cannot figure out the way this dependency should be injected. I encourage other people to look into this and hack it to make it work!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.4
    32
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.4
    32
  • 0.1.3
    0
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i karma-chai-things

Weekly Downloads

32

Version

0.1.4

License

MIT

Last publish

Collaborators

  • solatis