karma-mocha-given
Installation
$ npm install karma-mocha-given --save-dev
Add mocha-given
to the frameworks
key in your Karma configuration, before mocha
:
module { config;}
If using coffeescript to make the tests ready more like feature files, don't forget to use the Karma preprocessor
:
preprocessors: '**/*.coffee': 'coffee'