MCPcopy Index your code
hub / github.com/TanStack/table / setFixtureSignalInput

Function setFixtureSignalInput

packages/angular-table/tests/test-utils.ts:24–36  ·  view source on GitHub ↗
(
  componentFixture: ComponentFixture<T>,
  inputName: InputName,
  value: InputMaps[InputName],
)

Source from the content-addressed store, hash-verified

22}
23
24export function setFixtureSignalInput<
25 T extends NonNullable<unknown>,
26 InputMaps extends ToSignalInputUpdatableMap<T>,
27 InputName extends keyof InputMaps,
28>(
29 componentFixture: ComponentFixture<T>,
30 inputName: InputName,
31 value: InputMaps[InputName],
32) {
33 setFixtureSignalInputs(componentFixture, {
34 [inputName]: value,
35 } as ToSignalInputUpdatableMap<T>)
36}
37
38function componentHasSignalInputProperty<TProperty extends string>(
39 component: object,

Callers 1

Calls 1

setFixtureSignalInputsFunction · 0.85

Tested by

no test coverage detected