* A helper function to check if a given object looks like ElementRef. It is used in place of * the `instanceof ElementRef` check since ivy returns a type that looks like ElementRef (have * the same properties but doesn't pass the instanceof ElementRef test)
(result: any)
| 1234 | * the same properties but doesn't pass the instanceof ElementRef test) |
| 1235 | */ |
| 1236 | function isElementRefLike(result: any): boolean { |
| 1237 | return result.nativeElement != null; |
| 1238 | } |
| 1239 | |
| 1240 | it('should match directives on elements that used to be wrapped by a required parent in HTML parser', () => { |
| 1241 | @Directive({ |
no outgoing calls
no test coverage detected
searching dependent graphs…