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

Class TestCmp

packages/forms/signals/test/web/interop.spec.ts:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126 it('synchronizes value', () => {
127 @Component({
128 imports: [CustomControl, FormField],
129 template: `<custom-control [formField]="f" />`,
130 })
131 class TestCmp {
132 readonly f = form(signal('test'));
133 readonly control = viewChild.required(CustomControl);
134 }
135
136 const fixture = act(() => TestBed.createComponent(TestCmp));
137 const control = fixture.componentInstance.control;

Callers

nothing calls this directly

Calls 15

ComponentInterface · 0.90
formFunction · 0.90
signalFunction · 0.90
debounceFunction · 0.90
disabledFunction · 0.90
requiredFunction · 0.90
hiddenFunction · 0.90
validateAsyncFunction · 0.90
resourceFunction · 0.90
readonlyFunction · 0.90
maxFunction · 0.90
maxLengthFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…