Skip to content

Mavrin/karma-yatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-yatra

Adapter for the Yatra testing framework.

Installation

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

Configuration

// 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.