New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mocha-suppress-logs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-suppress-logs

Suppress console output of successful mocha tests.

  • 0.5.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
126K
increased by16.46%
Maintainers
1
Weekly downloads
 
Created
Source

Mocha Suppress Logs

CircleCI NPM Version Coverage Status License Downloads

Suppress console output of successful mocha tests.

Ideal if you want to keep your test's report clean while still being able to debug the output of failed tests.

Note: For mocha version 7 or earlier, you must use version 0.2.0 of this package.

Requirements

  • mocha (8.0.0 or higher)

Installation

npm install --save-dev mocha-suppress-logs

Usage

Simply require mocha-suppress-logs when running mocha:

mocha --require mocha-suppress-logs

Or put it in your .mocharc to make it default behavior:

{
    "require": "mocha-suppress-logs"
}

Keywords

FAQs

Package last updated on 07 Feb 2024

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