StatementCoverage

Contains coverage information for a single statement or line.

Online Documentation

Constructors

Link copied to clipboard
constructor(executed: JsAny, location: JsAny, branches: ReadonlyArray<BranchCoverage> = definedExternally)

Properties

Link copied to clipboard

Coverage from branches of this line or statement. If it's not a conditional, this will be empty.

Link copied to clipboard

The number of times this statement was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the statement will be marked as un-covered.

Link copied to clipboard

Statement location.