/jest-puppeteer-coverage

Jest Puppeteer Monocart Coverage Reports

Primary LanguageJavaScriptMIT LicenseMIT

Jest Puppeteer Coverage Example

jest-puppeteer coverage reports with monocart coverage reports

Step 1, Install

npm i monocart-coverage-reports jest-puppeteer puppeteer jest -D

Step 2, Collect V8 Coverage Data

Collect coverage data with hooks beforeAll and afterAll, see

Step 3, Generate Coverage Reports

npm run test

The coverage report will be found here: coverage-reports/index.html

Check monocart coverage reports for more coverage options.