POC: using Istanbul's nyc
CLI with mocha
and watch ability (using nodemon
)
Also works great with live-server
for observing html reports
"scripts": {
"watch:test:coverage": "concurrently \"live-server ./coverage\" \"nodemon -x npm run test:coverage\""
},
"devDependencies": {
...