Socket
Socket
Sign inDemoInstall

console-notifier

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-notifier

Plugin for gemini and hermione to log some information to a console after tests finished


Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

console-notifier Build Status

Plugin for gemini and hermione to log some information to a console after tests finished.

Install

$ npm install console-notifier

Usage

gemini

Add the plugin to your configuration file:

module.exports = {
    system: {
        plugins: {
            'console-notifier/gemini': {
                logs: [
                    'first-log',
                    {text: 'second-log'}, // revealed variant of the previous example
                    {on: 'success', text: 'third-log'}, // show log only if tests passed
                    {on: 'fail', text: 'fourth-log'}, // show log only if tests failed
                    {text: 'fifth-log', color: 'bold.red'} // show colored log; feature uses methods from module `chalk`
                ]
            }
        }
    }
};

hermione

Add the plugin to your configuration file:

module.exports = {
    plugins: {
        'console-notifier/hermione': {
            logs: [
                'first-log',
                {text: 'second-log'},
                {on: 'success', text: 'third-log'},
                {on: 'fail', text: 'fourth-log'},
                {text: 'fifth-log', color: 'bold.red'}
            ]
        }
    }
};

Keywords

FAQs

Package last updated on 22 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc