jest-text-formatter

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i jest-text-formatter

Weekly Downloads

281

Version

1.0.2

License

MIT

Unpacked Size

14 kB

Total Files

6

Last publish

Collaborators

  • flovaldes