You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

jest-text-formatter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-text-formatter

Package to convert Jest coverage output files to a format readable by Reviewdog

1.0.2
latest
npmnpm
Version published
Weekly downloads
357
-54.75%
Maintainers
1
Weekly downloads
 
Created
Source

Jest Coverage Formatter

Library to convert Jest coverage output files to a format readable by Reviewdog.

Installation

npm install jest-text-formatter --save-dev
# or
yarn add jest-text-formatter --dev

Usage

First run Jest with file output. Make sure to have coverage reporters set to ["text"].

For example:

yarn test > coverage.txt

Then run Jest Coverage Formatter

format-coverage ./coverage.txt ./outputPath/coverage.txt /root/path

It will save the output to ./outputPath/coverage.txt

Keywords

jest

FAQs

Package last updated on 03 Jun 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