puppeteer/website/versioned_docs/version-19.3.0/api/puppeteer.jscoverageoptions.useblockcoverage.md

16 lines
402 B
Markdown
Raw Normal View History

2022-10-14 12:54:46 +00:00
---
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.
2022-10-24 14:31:12 +00:00
#### Signature:
2022-10-14 12:54:46 +00:00
```typescript
interface JSCoverageOptions {
useBlockCoverage?: boolean;
}
```