(overrides: {[key: string]: any})
| 1750 | } |
| 1751 | |
| 1752 | function initComponent(overrides: {[key: string]: any}): ComponentFixture<MyApp> { |
| 1753 | TestBed.configureTestingModule({declarations: [MyApp]}); |
| 1754 | TestBed.overrideComponent(MyApp, {set: overrides}); |
| 1755 | const fixture = TestBed.createComponent(MyApp); |
| 1756 | fixture.detectChanges(); |
| 1757 | return fixture; |
| 1758 | } |
| 1759 | |
| 1760 | function initWithTemplate(template: string) { |
| 1761 | return initComponent({template}); |
no test coverage detected