minimal-karma-jasmine-reporter

1.2.1 • Public • Published

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'
      }
    }
  });
};

Package Sidebar

Install

npm i minimal-karma-jasmine-reporter

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

7.47 kB

Total Files

7

Last publish

Collaborators

  • kirill.gordeenko