BranchCoverage

Contains coverage information for a branch of a StatementCoverage.

Online Documentation

Constructors

Link copied to clipboard
constructor(executed: JsAny, location: JsAny = definedExternally, label: String = definedExternally)

Properties

Link copied to clipboard

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

Link copied to clipboard

Label for the branch, used in the context of "the ${label} branch was not taken," for example.

Link copied to clipboard

Branch location.