mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
16 lines
401 B
Markdown
16 lines
401 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;
|
||
|
}
|
||
|
```
|