1.0.2 • Published 7 years ago

jest-single-file-coverage v1.0.2

Weekly downloads
110
License
MIT
Repository
github
Last release
7 years ago

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