| 227 | |
| 228 | it('should escape unsafe properties if they are used in host bindings', () => { |
| 229 | @Directive({ |
| 230 | selector: '[dirHref]', |
| 231 | standalone: false, |
| 232 | }) |
| 233 | class HrefDirective { |
| 234 | @HostBinding('href') @Input() dirHref: string | undefined; |
| 235 | } |
| 236 | |
| 237 | const template = `<a [dirHref]="ctxProp">Link Title</a>`; |
| 238 | TestBed.configureTestingModule({declarations: [HrefDirective]}); |
nothing calls this directly
no test coverage detected
searching dependent graphs…