1.2.1 • Published 2 years ago

minimal-karma-jasmine-reporter v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

minimal-karma-jasmine-reporter

Single line, coloured, descriptive karma jasmine reporter, improved upon dots reporter. Great for fixing tests.

Install

$ npm install minimal-karma-jasmine-reporter --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    // reporters configuration
    reporters: ['minimal']
  });
};

Options

Define which colors are applied on icons in case of success, failure and ignore.

Use the chalk colors to customize it.

Example:

// karma.conf.js
module.exports = function(config) {
  config.set({
    // reporters configuration
    reporters: ['minimal'],

    minimalReporter: {
      color: {
        success : 'blue',
        failure : 'yellow',
        ignore  : 'grey'
      }
    }
  });
};