MCPcopy Create free account
hub / github.com/angular/angular / TestCmp

Class TestCmp

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

Source from the content-addressed store, hash-verified

118
119 it('synchronizes value', () => {
120 @Component({
121 imports: [CustomControl, FormField],
122 template: `<custom-control [formField]="f" />`,
123 })
124 class TestCmp {
125 readonly f = form(signal('test'));
126 readonly control = viewChild.required(CustomControl);
127 }
128
129 const fixture = act(() => TestBed.createComponent(TestCmp));
130 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