UNPKG

angular2-data-table

Version:

angular2-data-table is a Angular2 component for presenting large and complex data.

38 lines (32 loc) 831 B
import { async, TestBed } from '@angular/core/testing'; import { DataTableHeaderCellComponent } from '.'; describe('DataTableHeaderCellComponent', () => { let fixture; let component: DataTableHeaderCellComponent; let element; // provide our implementations or mocks to the dependency injector beforeEach(() => { TestBed.configureTestingModule({ declarations: [ DataTableHeaderCellComponent ] }); }); beforeEach(async(() => { TestBed.compileComponents().then(() => { fixture = TestBed.createComponent(DataTableHeaderCellComponent); component = fixture.componentInstance; element = fixture.nativeElement; }); })); describe('fixture', () => { it('should have a component instance', () => { expect(component).toBeTruthy(); }); }); });