This commit is contained in:
Kim Biesbjerg 2019-09-19 15:22:39 +02:00
parent 0345778aa1
commit 608c4e8e22
3 changed files with 5 additions and 10 deletions

View File

@ -2,15 +2,13 @@ import { expect } from 'chai';
import { ServiceParser } from '../../src/parsers/service.parser'; import { ServiceParser } from '../../src/parsers/service.parser';
class TestServiceParser extends ServiceParser {}
describe('ServiceParser', () => { describe('ServiceParser', () => {
const componentFilename: string = 'test.component.ts'; const componentFilename: string = 'test.component.ts';
let parser: TestServiceParser; let parser: ServiceParser;
beforeEach(() => { beforeEach(() => {
parser = new TestServiceParser(); parser = new ServiceParser();
}); });
it('should support extracting binary expressions', () => { it('should support extracting binary expressions', () => {

View File

@ -18,10 +18,11 @@
"sourceMap": true, "sourceMap": true,
"typeRoots" : [ "typeRoots" : [
"./node_modules/@types" "./node_modules/@types"
], ]
}, },
"include": [ "include": [
"src/**/*.ts" "src/**/*.ts",
"tests/**/*.ts"
], ],
"exclude": [ "exclude": [
"node_modules" "node_modules"

View File

@ -79,10 +79,6 @@
"check-whitespace" "check-whitespace"
], ],
"prefer-const": true, "prefer-const": true,
"quotemark": [
true,
"single"
],
"radix": true, "radix": true,
"semicolon": [ "semicolon": [
true, true,