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
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