Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 628 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 628 Bytes

learning-code-coverage

Companion code repo for a blog post series:

Setup

$ yarn global add typescript@2
$ git clone [email protected]:amarnus/learning-code-coverage.git
$ cd learning-code-coverage/
$ yarn

Usage

# compile
$ tsc

# stats
$ node bin/stats.js

# instrument
$ node bin/instrument.js > source.instrumented.js

# test
$ npm test

# visualize
$ genhtml -o html/ ./lcov.info