Package detail

karma-clear-terminal-reporter

Havunen615MIT1.0.0

A Karma plugin. Clears terminal before each test run including scroll history.

karma-plugin, karma-reporter, clear-screen, clear-terminal

readme

karma-clear-terminal-reporter

Reporter that clears the screen before each test run and also scroll history.

Installation

Install by using following command

npm install karma-clear-terminal-reporter --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    reporters: ['progress', 'clear-terminal']
  });
};

You can pass list of reporters as a CLI argument too:

karma start --reporters clear-terminal,dots