puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.jscoverageoptions.useblockcoverage.md
2022-11-03 11:02:28 +01:00

16 lines
402 B
Markdown

---
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:
```typescript
interface JSCoverageOptions {
useBlockCoverage?: boolean;
}
```