🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

jest-silent-reporter

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-silent-reporter

A silent reporter for Jest

Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Jest Silent Reporter

Jest customer reporter that only prints failed tests.

Installation

Using npm:

$ npm i -D jest-silent-reporter

Using yarn:

$ yarn add -D jest-silent-reporter

Usage

Jest CLI:

jest --reporters jest-silent-reporter

Jest Config:

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

Options

JEST_SILENT_REPORTER_DOTS=true

For large test suites, jest-silent-reporter can cause CI to fail due to having no output for some configured amount of time. Using the JEST_SILENT_REPORTER_DOTS envar will output dots for each test file, similar to a dot reporter.

Note: this is an envar because Jest does not allow for CLI options passed to reporters.

Screens

All tests passed

Tests failed

Licence

MIT

FAQs

Package last updated on 16 Aug 2018

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