notification component spec-modules and service 21/98121/1
authorArundathi Patil <arundpil@in.ibm.com>
Thu, 7 Nov 2019 09:38:42 +0000 (15:08 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Thu, 7 Nov 2019 09:38:51 +0000 (15:08 +0530)
added module and service dependency

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

index 69192c5..5d144a4 100644 (file)
@@ -1,4 +1,7 @@
 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { TranslateModule } from '@ngx-translate/core';
+import { NzNotificationService } from 'ng-zorro-antd';
+import { NgZorroAntdModule } from 'ng-zorro-antd';
 
 import { NotificationComponent } from './notification.component';
 
@@ -8,7 +11,9 @@ describe('NotificationComponent', () => {
 
   beforeEach(async(() => {
     TestBed.configureTestingModule({
-      declarations: [ NotificationComponent ]
+      declarations: [ NotificationComponent ],
+      imports: [ TranslateModule, NgZorroAntdModule ],
+      providers: [ NzNotificationService ]
     })
     .compileComponents();
   }));