StatementCoverage

constructor(executed: JsAny, location: JsAny, branches: ReadonlyArray<BranchCoverage> = definedExternally)(source)

Parameters

location

The statement position.

executed

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.

branches

Coverage from branches of this line. If it's not a conditional, this should be omitted.

Online Documentation