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

Method constructor

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

Source from the content-addressed store, hash-verified

150 @Injectable()
151 class Service {
152 constructor() {
153 expect(getActiveConsumer()).toBe(null);
154 }
155 }
156
157 const injector = createEnvironmentInjector([Service], TestBed.inject(EnvironmentInjector));

Callers

nothing calls this directly

Calls 2

getActiveConsumerFunction · 0.90
setMethod · 0.65

Tested by

no test coverage detected