1.0.0 • Published 11 years ago
karma-mocha-given v1.0.0
karma-mocha-given
Installation
$ npm install karma-mocha-given --save-devAdd 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']
},1.0.0
11 years ago