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

jest-json-cumulative-reporter

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-json-cumulative-reporter

A [Jest](https://github.com/facebook/jest) test results processor for generating a cumulative report in JSON format. The reporter will update existing suite reports, and create new suite reports.

  • 1.2.5
  • latest
  • Source
  • npm
  • Socket score

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

jest-json-cumulative-reporter

A Jest test results processor for generating a cumulative report in JSON format. The reporter will update existing suite reports, and create new suite reports.

Installation

$ npm install --save-dev jest-json-cumulative-reporter

Usage

Configure Jest to process the test results by adding the following entry to the Jest config (jest.config.json):

"reporters": ["default", "jest-json-cumulative-reporter"],

As you run Jest from within the terminal, a file called report.json will be created within your root folder containing information about your tests.

Configuration

Please note that all configuration properties are optional. They can be used with the following syntax:

"reporters": [
	"default",
	["jest-json-cumulative-reporter", {
    "filename": "report.json",
    "ignore": ["sandbox.spec.js", "/ignoredTests"]
	}]
]
PropertyTypeDescriptionDefault
filenameSTRINGName of the file generated by the report.report.json
ignoreARRAYA list of filenames or paths to ignore.[]

Tests coming soon.

Keywords

FAQs

Package last updated on 17 Jul 2020

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