blob: b14778e379783507616bf972bc6c64e55bc6e563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import {FormsModule} from '@angular/forms';
import { EditDrillDownLinkComponent } from './edit-drill-down-link.component';
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],
providers: [ColumnService]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(EditDrillDownLinkComponent);
component = fixture.componentInstance;
component.drillDownObj = drilldownobj1;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
|