Skip to content

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

Notifications You must be signed in to change notification settings

platanus/jest-text-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published