CoverageBadgeMetric
Which coverage figure the badge shows.
lines: the share of lines covered, the figure most coverage services show. -functions: the share of functions covered. -branches: the share of branches covered. -lowest: the lowest of the three, so the badge never shows a figure one of the others falls below.
Import:
import type { CoverageBadgeMetric } from '@mnaoumov/obsidian-dev-toolkit/test-runners/coverage-badge';Signature:
export type CoverageBadgeMetricSignature:
type CoverageBadgeMetric = 'branches' | 'functions' | 'lines' | 'lowest'Type: ‘branches’ | ‘functions’ | ‘lines’ | ‘lowest’
Links to this page: