summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2019-11-07 02:14:08 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-07 02:14:08 +0000
commit214d67b1555d4018c2189dd641aee27ed2b3e230 (patch)
tree45f9f932366c5d7862c2735c27e9f5fdcd965379 /usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts
parent11104e223d3c075144b3cd5bd49892e783773136 (diff)
parent782d803f23bb8af9f28c6df0fef0523e189f9fbf (diff)
Merge "alarm component- spec changes"
Diffstat (limited to 'usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts')
-rw-r--r--usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts b/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts
index 8276e423..0e24dc0c 100644
--- a/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts
+++ b/usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts
@@ -12,8 +12,9 @@ import { AlarmComponent } from './alarm.component';
import { DetailsComponent } from '../../shared/components/details/details.component';
import { LineComponent } from '../../shared/components/charts/line/line.component';
import { HomesService } from '../../core/services/homes.service';
+import { Util } from '../../shared/utils/utils';
-fdescribe('AlarmComponent', () => {
+describe('AlarmComponent', () => {
let component: AlarmComponent;
let fixture: ComponentFixture<AlarmComponent>;
@@ -26,7 +27,7 @@ fdescribe('AlarmComponent', () => {
HttpClientModule,
BrowserAnimationsModule,
HttpClientTestingModule],
- providers: [TranslateService, HomesService,
+ providers: [TranslateService, HomesService, Util,
{ provide: NZ_I18N, useValue: en_US }],
schemas: [
CUSTOM_ELEMENTS_SCHEMA,