summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/shared/components/charts/pie/pie.component.spec.ts4
-rw-r--r--usecaseui-portal/src/app/views/services/services-list/ccvpn-detail/ccvpn-detail.component.spec.ts4
2 files changed, 5 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.spec.ts b/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.spec.ts
index 528da25c..09e48ad7 100644
--- a/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.spec.ts
+++ b/usecaseui-portal/src/app/shared/components/charts/pie/pie.component.spec.ts
@@ -1,4 +1,5 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { NgxEchartsModule } from 'ngx-echarts';
import { PieComponent } from './pie.component';
@@ -8,7 +9,8 @@ describe('PieComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ PieComponent ]
+ declarations: [ PieComponent ],
+ imports: [NgxEchartsModule]
})
.compileComponents();
}));
diff --git a/usecaseui-portal/src/app/views/services/services-list/ccvpn-detail/ccvpn-detail.component.spec.ts b/usecaseui-portal/src/app/views/services/services-list/ccvpn-detail/ccvpn-detail.component.spec.ts
index b6f3171f..f02f107f 100644
--- a/usecaseui-portal/src/app/views/services/services-list/ccvpn-detail/ccvpn-detail.component.spec.ts
+++ b/usecaseui-portal/src/app/views/services/services-list/ccvpn-detail/ccvpn-detail.component.spec.ts
@@ -20,7 +20,7 @@ import { NZ_I18N, en_US } from 'ng-zorro-antd';
import { TranslateModule, TranslateLoader, TranslateService, TranslateFakeLoader } from '@ngx-translate/core';
import { CcvpnDetailComponent } from './ccvpn-detail.component';
-import { ServiceListService } from '../../core/services/serviceList.service';
+import { ServiceListService } from '../../../../core/services/serviceList.service';
describe('CcvpnDetailComponent', () => {
let component: CcvpnDetailComponent;
@@ -38,7 +38,7 @@ describe('CcvpnDetailComponent', () => {
beforeEach(() => {
let detailshow = false;
- detailData: Object;
+ // detailData: Object;
let serviceDetail = (service) => {
service["siteSer"] = [];
service["sdwanSer"] = [];