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

Method constructor

packages/forms/signals/test/web/form_field.spec.ts:6264–6268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6262 class App {
6263 vcr = inject(ViewContainerRef);
6264 constructor() {
6265 promise.then(() => {
6266 this.vcr.createComponent(FormComponent);
6267 });
6268 }
6269 }
6270
6271 const fixture = act(() => TestBed.createComponent(App));

Callers

nothing calls this directly

Calls 2

thenMethod · 0.65
createComponentMethod · 0.65

Tested by

no test coverage detected