Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 813 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 813 Bytes

karma-mocha Build Status

Adapter for the Mocha testing framework.

Installation

The easiest way is to keep karma-mocha as a devDependency in your package.json.

{
  "devDependencies": {
    "karma": "~0.9",
    "karma-mocha": "~0.0.1"
  }
}

You can simple do it by:

npm install karma-mocha --save-dev

Configuration

Following code shows the default configuration...

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['mocha'],

    files: [
      '*.js'
    ]
  });
};

For more information on Karma see the homepage.