Adapter for the Yatra testing framework.
The easiest way is to keep karma-yatra
as a devDependency
in your package.json
.
{
"devDependencies": {
"karma": "~0.12.0",
"karma-yatra": "~1.0.0"
}
}
You can simply do it by:
npm install karma-yatra --save-dev
// karma.conf.js
module.exports = function(config) {
config.set({
frameworks: ['yatra'],
files: [
{ pattern:'test/**', included: false },
{ pattern:'src/**', included: false }
]
});
};
For more information on Karma see the homepage.