karma-jquery-expect
Framework for jquery-expect. A DOM assertion library built on top of jQuery and based on LearnBoost's expect.jsInstallation
The easiest way is to keepkarma-jquery-expect
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-jquery-expect": "~0.1"
}
}
You can simple do it by:
npm install karma-jquery-expect --save-dev
Configuration
Following code shows the default configuration...// karma.conf.js
module.exports = function(config) {
config.set({
framework: ['jquery-expect'],
});
};