1.0.2 • Published 3 years ago
jest-text-formatter v1.0.2
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 --devUsage
First run Jest with file output. Make sure to have coverage reporters set to ["text"].
For example:
yarn test > coverage.txtThen run Jest Coverage Formatter
format-coverage ./coverage.txt ./outputPath/coverage.txt /root/pathIt will save the output to ./outputPath/coverage.txt