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

@outlinerisk/jest-friendly-reporter

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@outlinerisk/jest-friendly-reporter

Jest reporter that uses stdout for messages and stderr for errors

0.6.0
latest
Source
npm
Version published
Weekly downloads
79
-50%
Maintainers
3
Weekly downloads
 
Created
Source

npm npm bundle size downloads mit keywords

Jest Standard Reporter

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

Installation

Using npm:

npm install --save-dev jest-standard-reporter

Using yarn:

yarn add --dev jest-standard-reporter

Usage

Jest CLI:

jest --reporters=jest-standard-reporter

Jest config:

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

Supports the following Jest configurations:

  • useStderr
  • verbose

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

jest

FAQs

Package last updated on 23 Mar 2022

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