(matches: DirectiveMeta[])
| 1108 | |
| 1109 | describe('directive de-duplication', () => { |
| 1110 | function formatMatches(matches: DirectiveMeta[]): string[] { |
| 1111 | return matches.map((dir) => `${dir.name}:${MatchSource[dir.matchSource]}`); |
| 1112 | } |
| 1113 | |
| 1114 | it('should give precedence to the template-matched directive over a host-directive-based match', () => { |
| 1115 | const matcher = new SelectorMatcher(); |