0.0.1 • Published 8 years ago

karma-qunit-cli-fail v0.0.1

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

karma-qunit-cli-fail Build StatusGitHub version

Information

Installation

Just add karma-qunit-cli-fail as a devDependency in your package.json.

{
  "devDependencies": {
    "karma-qunit-cli-fail": "~0.1.0"
  }
}

Or issue the following command:

npm install karma-qunit-cli-fail --save-dev

Configuration

The code below shows a sample configuration of the preprocessor (must be inserted after qunit).

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['qunit', 'qunit-cli-fail'],
  });
};

Usage

Run karma from cli and add the next flag: --failOnError