summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-11-07 15:08:42 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-11-07 15:08:51 +0530
commitd8bb2adb3e9c8d5da144947616cae6dca0422398 (patch)
treeecb5b61bfb743c36b969f478d27feebccc24dbd8 /usecaseui-portal/src/app
parent214d67b1555d4018c2189dd641aee27ed2b3e230 (diff)
notification component spec-modules and service
added module and service dependency Issue-ID: USECASEUI-280 Change-Id: Idfa149148dcb72c4e061a7e2ea3dcb26521e383e Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts b/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts
index 69192c5e..5d144a43 100644
--- a/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts
+++ b/usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts
@@ -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();
}));