diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-11-06 13:30:12 +0530 |
---|---|---|
committer | Arundathi Patil <arundpil@in.ibm.com> | 2019-11-06 13:30:22 +0530 |
commit | 782d803f23bb8af9f28c6df0fef0523e189f9fbf (patch) | |
tree | 6c5730b6ead19b221b013170ae06ad9348e7aa21 /usecaseui-portal/src/app/views | |
parent | 237ed72e04ae121297a0594be069a26db49d0f5b (diff) |
alarm component- spec changes
Added provider for Util class
Issue-ID: USECASEUI-280
Change-Id: If3c1ca05b4a5a0193869e7b9233b904cc6cd70ba
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'usecaseui-portal/src/app/views')
-rw-r--r-- | usecaseui-portal/src/app/views/alarm/alarm.component.spec.ts | 5 |
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, |