summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/shared')
-rw-r--r--usecaseui-portal/src/app/shared/components/charts/bar/bar.component.spec.ts4
-rw-r--r--usecaseui-portal/src/app/shared/components/notification/notification.component.spec.ts7
2 files changed, 9 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/shared/components/charts/bar/bar.component.spec.ts b/usecaseui-portal/src/app/shared/components/charts/bar/bar.component.spec.ts
index d979ffb6..eb048a29 100644
--- a/usecaseui-portal/src/app/shared/components/charts/bar/bar.component.spec.ts
+++ b/usecaseui-portal/src/app/shared/components/charts/bar/bar.component.spec.ts
@@ -1,4 +1,5 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { NgxEchartsModule } from 'ngx-echarts';
import { BarComponent } from './bar.component';
@@ -8,7 +9,8 @@ describe('BarComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ BarComponent ]
+ declarations: [ BarComponent ],
+ imports:[ NgxEchartsModule ]
})
.compileComponents();
}));
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();
}));