parseLcovTotals
Sums the per-file counts of an lcov report.
Import:
import { parseLcovTotals } from '@mnaoumov/obsidian-dev-toolkit/test-runners/coverage-badge';Signature:
function parseLcovTotals(lcov: string): CoverageTotalsParameters:
| Parameter | Type | Description |
|---|---|---|
lcov |
string | The text of the report. |
Returns: CoverageTotals — The CoverageTotals.