Puppeteer to Istanbul
To Output Coverage in Istanbul Format with Puppeteer
npm i puppeteer --save.
npm i puppeteer-to-istanbul --save.
To Run Istanbul Reports
npm i nyc -g.
use nyc's report functionality:nyc report --reporter=html
puppeteer-to-istanbul outputs temporary files in a format that can be consumed by nyc.
see istanbul for a list of possible reporters.
If you see an issue with Puppeteer to Istanbul, please open an issue! If you want to help improve Puppeteer to Istanbul, please fork the repository and open a pull request with your changes.
Make sure to review our contributing guide for specific guidelines on contributing.