Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

karma-jasmine-runner-reporter

0.2.0 • Public • Published

karma-jasmine-runner-reporter

Reporter to create Jasmine Runner HTML on the fly.

Installation

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

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-jasmine-runner-reporter": "~0.1"
  }
}

You can simple do it by:

npm install karma-jasmine-runner-reporter --save-dev

Configuration

Following code shows the default configuration...

// karma.conf.js
module.exports = function(config) {
  config.set({
    reporters: ['progress', 'jasmine-runner'],
 
    // the default configuration
    jasmineRunnerReporter: {
      outputFile: 'jasmine-runner.html',
      includes: [
        "node_modules/jasmine-expect/dist/jasmine-matchers.js"
      ]
    }
  });
};

For more information on Karma see the homepage.

install

npm i karma-jasmine-runner-reporter

Downloadsweekly downloads

127

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability