Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@axioscode/diff-cover

Package Overview
Dependencies
Maintainers
8
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axioscode/diff-cover

Quickly display test coverage of files changed on your git branch

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
8
Weekly downloads
 
Created
Source

diff-cover

Quick n' dirty way to visualize test coverage of files you've changed since your git branch started.

Demonstration of output

Requirements

  • git
  • a *nix with paste
  • a project that is configured to use Jest for testing and coverage reports
  • npm or yarn

Usage

  1. Install with npm or yarn:

     yarn add --dev @axioscode/diff-cover
    
  2. Run:

     yarn run diff-cover
    

Options

To change the base branch for coverage comparison, set the COVER_BASE environment variable:

COVER_BASE=stable yarn run diff-cover

Keywords

FAQs

Package last updated on 13 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc