diff options
author | Tao Shen <shentao@chinamobile.com> | 2019-08-07 09:47:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-07 09:47:29 +0000 |
commit | 4dd1133ef94b2135fa12cbbc653c3b8669b37656 (patch) | |
tree | 9d666f9f08a0d64bf5719a91102e847ab5060345 /usecaseui-portal/src | |
parent | 1e97965c230d84e7cb2d96fc4ff4982e238b974e (diff) | |
parent | 99bbf951ee17dde0e8741028e9cf6fcfc6a225ba (diff) |
Merge "home component spec changes"
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r-- | usecaseui-portal/src/app/home/home.component.spec.ts | 6 |
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(); |