jest-coverage-to-csv

Convert jest coverage json to csv

Usage no npm install needed!

<script type="module">
  import jestCoverageToCsv from 'https://cdn.skypack.dev/jest-coverage-to-csv';
</script>

README

jest-coverage-to-csv

Jest coverage report converter from json to csv

Build Status version downloads MIT License

contributions welcome Watch on GitHub Star on GitHub Tweet

Usage

  1. Install jest-coverage-to-csv
    npm install -g jest-coverage-to-csv
    
  2. Run this command inside your directory
    yarn test --coverage --coverageReporters=json-summary && jest-coverage-to-csv
    
    Or use it in your package.json

Help

jest-coverage-to-csv --help

Contributing

  1. Fork this repo
  2. Develop
  3. Create pull request
  4. Tag @rizqirizqi for review
  5. Merge~~

Development

yarn dev

Test

yarn test

Lint

yarn lint

License

MIT