style(lint): improve lint issues

This commit is contained in:
KostyaDanovsky 2017-05-06 15:35:15 +03:00
parent 3ac268a096
commit f04763cecd
16 changed files with 19 additions and 78 deletions

View file

@ -14,7 +14,7 @@ import 'zone.js/dist/fake-async-test';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
@ -27,7 +27,7 @@ __karma__.loaded = function () {};
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(),
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);