MCPcopy Create free account
hub / github.com/angular/angular / formatMatches

Function formatMatches

packages/compiler/test/render3/view/binding_spec.ts:1110–1112  ·  view source on GitHub ↗
(matches: DirectiveMeta[])

Source from the content-addressed store, hash-verified

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();

Callers 1

binding_spec.tsFile · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected