alarm component- spec changes 11/98011/1
authorArundathi Patil <arundpil@in.ibm.com>
Wed, 6 Nov 2019 08:00:12 +0000 (13:30 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Wed, 6 Nov 2019 08:00:22 +0000 (13:30 +0530)
Added provider for Util class

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

index 8276e42..0e24dc0 100644 (file)
@@ -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,