puppeteer/docs/api/puppeteer.jscoverageoptions.useblockcoverage.md

401 B

sidebar_label
JSCoverageOptions.useBlockCoverage

JSCoverageOptions.useBlockCoverage property

Whether to collect coverage information at the block level. If true, coverage will be collected at the block level (this is the default). If false, coverage will be collected at the function level.

Signature:

interface JSCoverageOptions {
  useBlockCoverage?: boolean;
}