diff --git a/src/lcovparser.ts b/src/lcovparser.ts index 694da9c..8cc9f1c 100644 --- a/src/lcovparser.ts +++ b/src/lcovparser.ts @@ -42,7 +42,7 @@ export class LcovParser { }); return resolve(sections); }); - } catch(error) { + } catch (error) { return reject(error); } diff --git a/src/renderer.ts b/src/renderer.ts index 9986f9f..b9c9913 100644 --- a/src/renderer.ts +++ b/src/renderer.ts @@ -1,5 +1,5 @@ -import {extname} from "path"; import {Section} from "lcov-parse"; +import {extname} from "path"; import { commands, OutputChannel, diff --git a/test/renderer.test.ts b/test/renderer.test.ts index 157ae8b..84046be 100644 --- a/test/renderer.test.ts +++ b/test/renderer.test.ts @@ -33,7 +33,7 @@ suite("Renderer Tests", function() { const fakeReporter = { sendEvent: () => {}, - } + }; test("Constructor should setup properly @unit", function(done) { assert.doesNotThrow(() => new Renderer(fakeConfig, fakeOutput, fakeReporter as any));