(el: DebugElement, dirType: Type<any>)
| 91 | } |
| 92 | |
| 93 | function queryDirs(el: DebugElement, dirType: Type<any>): any { |
| 94 | const nodes = el.queryAllNodes(By.directive(dirType)); |
| 95 | return nodes.map((node) => node.injector.get(dirType)); |
| 96 | } |
| 97 | |
| 98 | function _bindSimpleProp<T>(bindAttr: string): ComponentFixture<TestComponent>; |
| 99 | function _bindSimpleProp<T>(bindAttr: string, compType: Type<T>): ComponentFixture<T>; |
no test coverage detected