diff --git a/.travis.yml b/.travis.yml index eac8156..c033095 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,8 +30,7 @@ branches: before_script: script: - - ng lint - - ng test --no-progress -sr + - ng lint --type-check - ng test --no-progress -sr -cc after_success: diff --git a/src/app/dashboard/bs-components/carousel-sample/carousel-sample.component.spec.ts b/src/app/dashboard/bs-components/carousel-sample/carousel-sample.component.spec.ts index c72aebc..e6d9f45 100644 --- a/src/app/dashboard/bs-components/carousel-sample/carousel-sample.component.spec.ts +++ b/src/app/dashboard/bs-components/carousel-sample/carousel-sample.component.spec.ts @@ -31,7 +31,7 @@ describe('CarouselSampleComponent', () => { fixture.detectChanges(); console.log(component); - + expect(component).toBeTruthy(); expect(component).not.toBeTruthy(); }); diff --git a/src/app/shared/sidebar/sidebar.component.ts b/src/app/shared/sidebar/sidebar.component.ts index af67354..fa14404 100644 --- a/src/app/shared/sidebar/sidebar.component.ts +++ b/src/app/shared/sidebar/sidebar.component.ts @@ -66,7 +66,7 @@ export class SidebarComponent implements OnInit { mergeMenus() { this.menuList = []; - + this.remoteMenuList.map(x => { this.menuList.push(x); });