Skip to content

example of using puppeteer-to-istanbul to output istanbul reports from puppeteer coverage

License

Notifications You must be signed in to change notification settings

bcoe/puppeteer-to-istanbul-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppeteer to Istanbul Example

Example of using puppeteer-to-istanbul to output puppeteer format coverage output in Istanbul format.

Files

  • index.html: an HTML file containing inline JavaScript.
  • index.js: a script that executes index.html with coverage enabled.

Usage

npm run coverage

This will:

  1. run JavaScript in puppeteer with coverage enabled.
  2. output to disk in Istanbul format.
  3. run reports with nyc.
  4. open coverage/index.html, displaying the coverage information collected.

About

example of using puppeteer-to-istanbul to output istanbul reports from puppeteer coverage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published