diff options
Diffstat (limited to 'src/formats.ts')
| -rw-r--r-- | src/formats.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/formats.ts b/src/formats.ts index db13fa6..ff24061 100644 --- a/src/formats.ts +++ b/src/formats.ts @@ -75,7 +75,7 @@ const FormatsObj: FormatObj = { return (100 * covered) / coverable; }, matchColor: defaultColorMatches, - fileName: "index.html" + fileName: "index.html", }, cobertura: { parseCoverage: async (contents: string): Promise<CoverageResult> => { @@ -98,17 +98,17 @@ const FormatsObj: FormatObj = { } }, matchColor: defaultColorMatches, - fileName: "index.xml" - } + fileName: "index.xml", + }, }, - listFormats: function() { + listFormats: function () { return Object.keys(this.formats); }, - getFormat: function(format: string) { + getFormat: function (format: string) { return this.formats[format]; - } + }, }; export default FormatsObj; |
