(overrides: {[key: string]: any})
| 1776 | } |
| 1777 | |
| 1778 | function initComponent(overrides: {[key: string]: any}): ComponentFixture<MyApp> { |
| 1779 | TestBed.configureTestingModule({declarations: [MyApp]}); |
| 1780 | TestBed.overrideComponent(MyApp, {set: overrides}); |
| 1781 | const fixture = TestBed.createComponent(MyApp); |
| 1782 | fixture.detectChanges(); |
| 1783 | return fixture; |
| 1784 | } |
| 1785 | |
| 1786 | function initWithTemplate(template: string) { |
| 1787 | return initComponent({template}); |
no test coverage detected
searching dependent graphs…