3.0.0 • Published 8 years ago

karma-jsdomlocalstorage-launcher v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

karma-jsdom-launcher

Launcher for jsdom.

Installation

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

{
  "devDependencies": {
    "karma": "~0.13.10",
    "karma-jsdom-launcher": "~2.0.0"
  }
}

You can simple do it by:

npm install karma-jsdom-launcher --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    browsers: ['jsdom'],
  });
};

You can pass list of browsers as a CLI argument too:

karma start --browsers jsdom

For more information on Karma see the homepage.