Socket
Socket
Sign inDemoInstall

jest-md-reporter

Package Overview
Dependencies
113
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jest-md-reporter

A silent fork of jest-standard-reporter (that uses stdout for messages and stderr for errors)


Version published
Maintainers
1
Install size
3.67 MB
Created

Readme

Source

npm npm bundle size downloads mit keywords

Jest .md Reporter

This is a simple fork from jest-standard-reporter v1.0.4 (819f7452) below, just stripping some stuff (like (2ms) after tests, so it can be used for our tests-as-docs generation.

Jest Standard Reporter

Jest reporter that uses stdout for messages and stderr for errors.

Installation

Using npm:

npm install --save-dev jest-md-reporter

Using yarn:

yarn add --dev jest-md-reporter

Usage

Jest CLI:

jest --reporters=jest-md-reporter

Jest config:

{
  "reporters": ["jest-md-reporter"]
}

Supports the following Jest configurations:

Inspiration

Jest uses stderr to print the results of the tests (as opposed to stdout; see issue #5064). Many CI tools mark any output coming from stderr as a failure, making builds to fail even when the tests pass (false positive).

This reporter uses stdout to print messages and only uses stderr when an error is thrown.

If you chose to, you could override this behavior using the useStderr flag.

License

MIT

Keywords

FAQs

Last updated on 18 Feb 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc