(componentType: Type<T>)
| 45 | let tableElement: HTMLElement; |
| 46 | |
| 47 | function setupTableTestApp<T>(componentType: Type<T>): ComponentFixture<T> { |
| 48 | fixture = TestBed.createComponent(componentType); |
| 49 | component = fixture.componentInstance; |
| 50 | fixture.detectChanges(); |
| 51 | |
| 52 | tableElement = fixture.nativeElement.querySelector('.cdk-table'); |
| 53 | return fixture; |
| 54 | } |
| 55 | |
| 56 | describe('in a typical simple use case', () => { |
| 57 | let dataSource: FakeDataSource; |
no outgoing calls
no test coverage detected