Skip to content

DaleLaw/jest-single-file-coverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jest-single-file-coverage

npm version

A little helper to test a single file in react-boilerplate, with coverage of the tested file.

Usage

First, install the package

  npm install --save-dev jest-single-file-coverage

Add this line to package.json scripts section

    "test:1": "node ./node_modules/jest-single-file-coverage",

Finally, run with

  npm run test:1 app/yourfile.test.js

About

Automatic jest single file coverage for react-boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published