karma-mocha-should
v0.0.2
Published
Karma plugin for mocha-should
Downloads
1
Maintainers
Readme
karma-mocha-should
Karma plugin for mocha-should
Usage
$ npm install mocha-should --save-dev
Add mocha-should
to the frameworks
key in your Karma configuration before chai:
module.exports = function(config) {
config.set({
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: [ "commonjs", "mocha", "mochashould", "chai" ],
preprocessors: {
"**/mocha-should/index.js": [ "commonjs" ],
"test/**/*.js": [ "commonjs" ]
}
});
};
See examples folder for Mocha test and karma example files.
Thanks
To the team at karma-chai for their Karma plugin, which was used as a guide.