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

Method constructor

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

Source from the content-addressed store, hash-verified

188 @NgModule({})
189 class TestModule {
190 constructor() {
191 expect(getActiveConsumer()).toBe(null);
192 }
193 }
194 expectNotToThrowInReactiveContext(() =>
195 createInjector(TestModule, TestBed.inject(EnvironmentInjector)),

Callers

nothing calls this directly

Calls 1

getActiveConsumerFunction · 0.90

Tested by

no test coverage detected