istanbul-gh-pr-uncovered
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.2 • Public • Published

istanbul-gh-pr-uncovered

Build Status

Uses the istanbul coverageMap and get's the uncovered lines from the current pull request related to the last commit that this process it running on.

Installation

npm install istanbul-gh-pr-uncovered --save

Usage

const fetchUncoveredPrFiles =  require('istanbul-gh-pr-uncovered');

const uncoveredFiles = await fetchUncoveredPrFiles({
  coverageMap: jestTestResults.coverageMap,

  // appId of the installed app, in order to fetch github PR info
  appId,

  // the private key generated for the installed app
  privateKey
});

console.log(uncoveredFiles);

Package Sidebar

Install

npm i istanbul-gh-pr-uncovered

Weekly Downloads

0

Version

1.0.0-beta.2

License

ISC

Unpacked Size

83 kB

Total Files

20

Last publish

Collaborators

  • joeyjiron06