Skip to main content
Version: 19.5.0

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