( template: string = TEMPLATE, )
| 42 | '<div><span *rxFor="let item of items">{{item.toString()}};</span></div>'; |
| 43 | |
| 44 | export function createTestComponent( |
| 45 | template: string = TEMPLATE, |
| 46 | ): ComponentFixture<TestComponent> { |
| 47 | return TestBed.overrideComponent(TestComponent, { |
| 48 | set: { template: template }, |
| 49 | }).createComponent(TestComponent); |
| 50 | } |
| 51 | |
| 52 | export function createErrorHandler() { |
| 53 | return TestBed.inject(ErrorHandler); |
no outgoing calls
no test coverage detected