- clone this repo
npm i
npm run build
cd build
npx nyc ./static ./static-i
- rename
static
tostatic-o
,static-i
tostatic
npx serve
- open chrome to
localhost:5000
- in dev tools console,
JSON.stringify(__coverage__)
- copy data into
.nyc_output/out.json
npx nyc report --reporter=html
- open
coverage/index.html
- report here looks good
- click into any of the
.js
files - cry a little