karma-slimerjs-launcher

A Karma plugin. Launcher for SlimerJS.

karma-slimerjs-launcher

Launcher for SlimerJS.

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

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-slimerjs-launcher": "~0.1"
  }
}

You can simple do it by:

npm install karma-slimerjs-launcher --save-dev
// karma.conf.js 
module.exports = function(config) {
  config.set({
    browsers: ['SlimerJS'],
  });
};

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

karma start --browsers SlimerJS,Chrome

For more information on Karma see the homepage.