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

Class TestCmp

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected