karma-mocha-given

1.0.0 • Public • Published

karma-mocha-given

Build Status Coverage Status Code Climate Dependency Status

Installation

$ npm install karma-mocha-given --save-dev

Add mocha-given to the frameworks key in your Karma configuration, before mocha:

module.exports = function(config) {
  config.set({
    frameworks: ['mocha-given', 'mocha']
  });
}

If using coffeescript to make the tests ready more like feature files, don't forget to use the Karma preprocessor:

preprocessors: {
    '**/*.coffee': ['coffee']
},

Dependents (0)

Package Sidebar

Install

npm i karma-mocha-given

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • travi