karma-qunit-cli-fail
v0.0.1
Published
Karma qunit plugin to stop runner if test fails
Downloads
2
Readme
karma-qunit-cli-fail
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