summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-11-06 13:30:12 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-11-06 13:30:22 +0530
commit782d803f23bb8af9f28c6df0fef0523e189f9fbf (patch)
tree6c5730b6ead19b221b013170ae06ad9348e7aa21
parent237ed72e04ae121297a0594be069a26db49d0f5b (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>
-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,