| 48 | } |
| 49 | |
| 50 | class Comp { |
| 51 | static ɵfac = () => new Comp(); |
| 52 | static ɵcmp = ɵɵdefineComponent({ |
| 53 | type: Comp, |
| 54 | selectors: [['comp']], |
| 55 | decls: 3, |
| 56 | vars: 1, |
| 57 | template: (rf) => { |
| 58 | if (rf & RenderFlags.Create) { |
| 59 | ɵɵelementStart(0, 'div')(1, 'span'); |
| 60 | ɵɵtemplate(2, conditionalTemplate, 2, 0, 'strong'); |
| 61 | ɵɵelementEnd()(); |
| 62 | ɵɵattachSourceLocations('test.ts', [ |
| 63 | [0, 154, 6, 16], |
| 64 | [1, 178, 7, 18], |
| 65 | ]); |
| 66 | } |
| 67 | if (rf & 2) { |
| 68 | ɵɵadvance(2); |
| 69 | ɵɵconditional(true ? 2 : -1); |
| 70 | } |
| 71 | }, |
| 72 | encapsulation: 2, |
| 73 | }); |
| 74 | } |
| 75 | |
| 76 | const fixture = TestBed.createComponent(Comp); |
| 77 | fixture.detectChanges(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…