1.0.2 • Published 2 years ago

jest-text-formatter v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago