From 608c4e8e2260d9bb443bd5600bfa4e6e0d70e46c Mon Sep 17 00:00:00 2001 From: Kim Biesbjerg Date: Thu, 19 Sep 2019 15:22:39 +0200 Subject: [PATCH] cleanup --- tests/parsers/service.parser.spec.ts | 6 ++---- tsconfig.json | 5 +++-- tslint.json | 4 ---- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/tests/parsers/service.parser.spec.ts b/tests/parsers/service.parser.spec.ts index a116b9f..2e2b085 100644 --- a/tests/parsers/service.parser.spec.ts +++ b/tests/parsers/service.parser.spec.ts @@ -2,15 +2,13 @@ import { expect } from 'chai'; import { ServiceParser } from '../../src/parsers/service.parser'; -class TestServiceParser extends ServiceParser {} - describe('ServiceParser', () => { const componentFilename: string = 'test.component.ts'; - let parser: TestServiceParser; + let parser: ServiceParser; beforeEach(() => { - parser = new TestServiceParser(); + parser = new ServiceParser(); }); it('should support extracting binary expressions', () => { diff --git a/tsconfig.json b/tsconfig.json index f95865f..ca1d567 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,10 +18,11 @@ "sourceMap": true, "typeRoots" : [ "./node_modules/@types" - ], + ] }, "include": [ - "src/**/*.ts" + "src/**/*.ts", + "tests/**/*.ts" ], "exclude": [ "node_modules" diff --git a/tslint.json b/tslint.json index f8506db..eba0053 100644 --- a/tslint.json +++ b/tslint.json @@ -79,10 +79,6 @@ "check-whitespace" ], "prefer-const": true, - "quotemark": [ - true, - "single" - ], "radix": true, "semicolon": [ true,