summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src
diff options
context:
space:
mode:
authorIndrijeet kumar <indriku1@in.ibm.com>2020-03-17 22:08:41 +0530
committerIndrijeet Kumar <indriku1@in.ibm.com>2020-03-17 16:42:01 +0000
commit3e04414b56ee8d044ab930bd3e36e997f681b17c (patch)
tree51fb8c94497719cd4b208d65c78da845205e0a78 /ecomp-sdk/epsdk-app-overlay/src
parentb760830e6c9e06cbf30dfb424829b78812158b64 (diff)
modification in edit-drill-down-link component
modification in edit-drill-down-link component Issue-ID: PORTAL-813 Change-Id: Ib868fd2181604a8dbe466df93f7b8ff660d848c2 Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts26
1 files changed, 17 insertions, 9 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts
index 957be88b..b14778e3 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/columns/columns-edit-component/edit-drill-down-link/edit-drill-down-link.component.spec.ts
@@ -1,26 +1,34 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
-
+import {FormsModule} from '@angular/forms';
import { EditDrillDownLinkComponent } from './edit-drill-down-link.component';
-import { FormsModule } from '@angular/forms';
import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { ColumnService } from '../../column.service';
+import { Observable } from 'rxjs';
describe('EditDrillDownLinkComponent', () => {
let component: EditDrillDownLinkComponent;
let fixture: ComponentFixture<EditDrillDownLinkComponent>;
+ const drilldownobj1 = {"drillDownUrl":"dummyURL"}
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ EditDrillDownLinkComponent ],
- imports:[
- FormsModule,
- HttpClientTestingModule
- ]
- })
+ declarations: [ EditDrillDownLinkComponent],
+ imports: [FormsModule, HttpClientTestingModule],
+ providers: [ColumnService]
+ })
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(EditDrillDownLinkComponent);
component = fixture.componentInstance;
+ component.drillDownObj = drilldownobj1;
fixture.detectChanges();
- }); \ No newline at end of file
+
+
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});