summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-08-06 17:21:10 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-08-06 17:21:15 +0530
commit99bbf951ee17dde0e8741028e9cf6fcfc6a225ba (patch)
tree5b18026c4e50480af0b47b2a3d5c93520cd964d6 /usecaseui-portal/src
parent8efaf0a28dc2b26be9871ccfd1a376e34b372bb6 (diff)
home component spec changes
fixed test case in home component spec file Issue-ID: USECASEUI-280 Change-Id: Id526d3be09e2a9245c3186f275969ebc145df70b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r--usecaseui-portal/src/app/home/home.component.spec.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/home/home.component.spec.ts b/usecaseui-portal/src/app/home/home.component.spec.ts
index 7ed6abfc..9e463e65 100644
--- a/usecaseui-portal/src/app/home/home.component.spec.ts
+++ b/usecaseui-portal/src/app/home/home.component.spec.ts
@@ -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();