aboutsummaryrefslogtreecommitdiff
path: root/src/formats.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/formats.ts')
-rw-r--r--src/formats.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/formats.ts b/src/formats.ts
index ab118ab..63d5f60 100644
--- a/src/formats.ts
+++ b/src/formats.ts
@@ -6,6 +6,7 @@ export interface Format {
// returns the coverage value as %: Number(90.0), Number(100.0), Number(89.5)
parseCoverage: (file: Document) => CoverageResult;
matchColor: (coverage: number, style: GradientStyle) => string;
+ fileName: string;
}
interface FormatList {
@@ -70,7 +71,8 @@ const FormatsObj: FormatObj = {
}
return (100 * covered) / coverable;
},
- matchColor: defaultColorMatches
+ matchColor: defaultColorMatches,
+ fileName: "index.html"
}
},