Companion code repo for a blog post series:
$ yarn global add typescript@2
$ git clone [email protected]:amarnus/learning-code-coverage.git
$ cd learning-code-coverage/
$ yarn
# compile
$ tsc
# stats
$ node bin/stats.js
# instrument
$ node bin/instrument.js > source.instrumented.js
# test
$ npm test
# visualize
$ genhtml -o html/ ./lcov.info