MCPcopy Index your code
hub / github.com/angular/angular / formatMatches

Function formatMatches

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

Source from the content-addressed store, hash-verified

1319
1320 describe('directive de-duplication', () => {
1321 function formatMatches(matches: DirectiveMeta[]): string[] {
1322 return matches.map((dir) => `${dir.name}:${MatchSource[dir.matchSource]}`);
1323 }
1324
1325 it('should give precedence to the template-matched directive over a host-directive-based match', () => {
1326 const matcher = new SelectorMatcher();

Callers 1

binding_spec.tsFile · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…