b14778e379783507616bf972bc6c64e55bc6e563
[portal/sdk.git] /
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import {FormsModule} from '@angular/forms';
3 import { EditDrillDownLinkComponent } from './edit-drill-down-link.component';
4 import { HttpClientTestingModule } from '@angular/common/http/testing';
5 import { ColumnService } from '../../column.service';
6 import { Observable } from 'rxjs';
7
8 describe('EditDrillDownLinkComponent', () => {
9   let component: EditDrillDownLinkComponent;
10   let fixture: ComponentFixture<EditDrillDownLinkComponent>;
11   const drilldownobj1 = {"drillDownUrl":"dummyURL"}
12
13   beforeEach(async(() => {
14     TestBed.configureTestingModule({
15       declarations: [ EditDrillDownLinkComponent],
16       imports: [FormsModule, HttpClientTestingModule],
17       providers: [ColumnService]
18     }) 
19     .compileComponents();
20   }));
21
22   beforeEach(() => {
23     fixture = TestBed.createComponent(EditDrillDownLinkComponent);
24     component = fixture.componentInstance;
25     component.drillDownObj = drilldownobj1;
26     fixture.detectChanges();
27
28
29   });
30
31   it('should create', () => {
32     expect(component).toBeTruthy();
33   });
34 });