Absolute source path → its accumulated FileCoverage.
const coverage: CoverageFileMap = new Map(); coverage.set('/proj/cart.ts', { coverable: new Set([1]), covered: new Map(), sourceContent: null }); coverage.size; // 1
Map<string, FileCoverage>
Absolute source path → its accumulated FileCoverage.
const coverage: CoverageFileMap = new Map(); coverage.set('/proj/cart.ts', { coverable: new Set([1]), covered: new Map(), sourceContent: null }); coverage.size; // 1
Map<string, FileCoverage>
import { type CoverageFileMap } from "lib/types.ts";