MCPcopy
hub / github.com/angular/angular / constructor

Method constructor

packages/core/test/render3/reactive_safety_spec.ts:146–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 @Injectable()
145 class Service {
146 constructor() {
147 expect(getActiveConsumer()).toBe(null);
148 }
149 }
150
151 const injector = createEnvironmentInjector([Service], TestBed.inject(EnvironmentInjector));

Callers

nothing calls this directly

Calls 1

getActiveConsumerFunction · 0.90

Tested by

no test coverage detected