home component spec changes 87/92787/1
authorArundathi Patil <arundpil@in.ibm.com>
Tue, 6 Aug 2019 11:51:10 +0000 (17:21 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Tue, 6 Aug 2019 11:51:15 +0000 (17:21 +0530)
fixed test case in home component spec file

Issue-ID: USECASEUI-280
Change-Id: Id526d3be09e2a9245c3186f275969ebc145df70b
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
usecaseui-portal/src/app/home/home.component.spec.ts

index 7ed6abf..9e463e6 100644 (file)
@@ -4,6 +4,7 @@ import { NgZorroAntdModule } from 'ng-zorro-antd';
 import { NgxEchartsModule } from 'ngx-echarts';
 import { HttpClientModule } from '@angular/common/http';
 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
+import { RouterTestingModule } from '@angular/router/testing';
 
 import { HomeComponent } from './home.component';
 import { PieComponent } from '../components/charts/pie/pie.component'; 
@@ -11,7 +12,7 @@ import { BarComponent } from '../components/charts/bar/bar.component';
 import { LineComponent } from '../components/charts/line/line.component';
 import { HomesService } from '../homes.service';
 
-fdescribe('HomeComponent', () => {
+describe('HomeComponent', () => {
   let component: HomeComponent;
   let fixture: ComponentFixture<HomeComponent>;
 
@@ -22,7 +23,8 @@ fdescribe('HomeComponent', () => {
               NgZorroAntdModule, 
               NgxEchartsModule, 
               HttpClientModule,
-              BrowserAnimationsModule],
+              BrowserAnimationsModule,
+              RouterTestingModule],
       providers: [HomesService, TranslateService]
     })
     .compileComponents();