Interface CoverageMap

interface CoverageMap {
    data: CoverageMapData;
    addFileCoverage(fileCoverageData: FileCoverageData): void;
    fileCoverageFor(fileName: string): FileCoverage;
    files(): string[];
    filter(predicate: ((key: string) => boolean)): void;
    getCoverageSummary(): CoverageSummary;
    merge(coverageMap: CoverageMap | CoverageMapData): void;
    toJSON(): CoverageMapData;
}

Properties

Methods

  • Parameters

    • predicate: ((key: string) => boolean)
        • (key): boolean
        • Parameters

          • key: string

          Returns boolean

    Returns void