MCPcopy Create free account
hub / github.com/angular/components / createGridData

Function createGridData

src/aria/grid/grid.spec.ts:43–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43function createGridData(): RowConfig[] {
44 return Array.from({length: 3}, (_, rIndex) => ({
45 cells: Array.from({length: 3}, (_, cIndex) => ({
46 id: `c${rIndex}-${cIndex}`,
47 })),
48 }));
49}
50
51describe('Grid directives', () => {
52 let fixture: ComponentFixture<GridTestComponent>;

Callers 3

setupGridFunction · 0.70
grid.spec.tsFile · 0.70
GridTestComponentClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected