MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / uses

Function uses

__tests__/angular-router.test.ts:117–117  ·  view source on GitHub ↗
(template: string)

Source from the content-addressed store, hash-verified

115
116describe('what a template reads at render', () => {
117 const uses = (template: string) => templateMemberUses(template).map((u) => `${u.name}${u.call ? '()' : ''} ${u.via}`);
118
119 it('reads property bindings, interpolations, structural directives, control flow and @let', () => {
120 expect(uses(`<button (click)="cycle()" [attr.aria-label]="label()"><i [name]="icon()"></i></button>`)).toEqual([

Callers 1

Calls 2

templateMemberUsesFunction · 0.90
mapMethod · 0.80

Tested by

no test coverage detected