0.0.2 • Published 9 years ago
karma-mocha-should v0.0.2
karma-mocha-should
Karma plugin for mocha-should
Usage
$ npm install mocha-should --save-devAdd 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.
0.0.2
9 years ago