Per-file line coverage, when coverage was requested.
const file: FileCoverageSummary = { path: 'lib/cart.ts', coveredLines: 18, coverableLines: 20, percent: 90 }; file.percent; // 90
path: string
Path relative to the project root, with forward slashes.
coveredLines: number
Lines executed at least once.
coverableLines: number
Lines the source map attributes to executable positions in the bundle.
percent: number
coveredLines / coverableLines, as a percentage rounded to two decimals.