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

Class TestCmp

packages/forms/signals/test/web/dynamic_binding.spec.ts:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170 it(`should not treat component with '[formField]' input as a control`, () => {
171 @Component({template: ''})
172 class TestCmp {
173 readonly formField = input.required<Field<string>>();
174 readonly value = model.required<string>();
175 }
176
177 const environmentInjector = TestBed.inject(EnvironmentInjector);
178 const control = TestBed.runInInjectionContext(() => {

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected