---
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;
}
```