karma-clear-screen-reporter
v1.0.0
Published
A Karma plugin. Clears screen before each test run.
Downloads
3,926
Maintainers
Readme
karma-clear-screen-reporter
Reporter that clears the screen before each test run.
Installation
The easiest way is to keep karma-clear-screen-reporter
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-clear-screen-reporter": ">=1.0.0"
}
}
You can simple do it by:
npm install karma-clear-screen-reporter --save-dev
Configuration
// karma.conf.js
module.exports = function(config) {
config.set({
reporters: ['progress', 'clear-screen']
});
};
You can pass list of reporters as a CLI argument too:
karma start --reporters clear-screen,dots