MCPcopy
hub / github.com/TanStack/table / FakeComponent

Class FakeComponent

packages/angular-table/tests/createAngularTable.test.ts:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23describe('createAngularTable', () => {
24 test('should render with required signal inputs', () => {
25 @Component({
26 selector: 'app-fake',
27 template: ``,
28 standalone: true,
29 })
30 class FakeComponent {
31 data = input.required<any[]>()
32
33 table = createAngularTable(() => ({
34 data: this.data(),
35 columns: [],
36 getCoreRowModel: getCoreRowModel(),
37 }))
38 }
39
40 const fixture = TestBed.createComponent(FakeComponent)
41 setFixtureSignalInputs(fixture, {

Callers

nothing calls this directly

Calls 2

createAngularTableFunction · 0.90
getCoreRowModelFunction · 0.85

Tested by

no test coverage detected