Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-fixed-default-reporter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-fixed-default-reporter

Tiny wrapper around jest DefaultReporter that prints success messages to stdout

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-16.35%
Maintainers
1
Weekly downloads
 
Created
Source

Fixed jest DefaultReporter

By default, Jest is using stderr as output https://github.com/facebook/jest/issues/5064

This is a tiny wrapper around jest default reporters (DefaultReporter, VerboseReporter, SummaryReporter) that prints success messages to stdout and errors to stderr.

See how inner tests print results.

Use

npm install --save-dev jest-fixed-default-reporter
jest --reporters=jest-fixed-default-reporter/DefaultReporter --reporters=jest-fixed-default-reporter/SummaryReporter

or

yarn add --save-dev jest-fixed-default-reporter

or

jest.config.js:
{
  "reporters": [
    // "jest-fixed-default-reporter/VerboseReporter",
    "jest-fixed-default-reporter/DefaultReporter",
    "jest-fixed-default-reporter/SummaryReporter"
  ]
}

Inspiration

jest-standard-reporter seemed like way too much code to maintain https://github.com/chrisgalvan/jest-standard-reporter

Keywords

FAQs

Package last updated on 15 May 2021

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