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

Method constructor

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

Source from the content-addressed store, hash-verified

194 @NgModule({})
195 class TestModule {
196 constructor() {
197 expect(getActiveConsumer()).toBe(null);
198 }
199 }
200 expectNotToThrowInReactiveContext(() =>
201 createInjector(TestModule, TestBed.inject(EnvironmentInjector)),

Callers

nothing calls this directly

Calls 1

getActiveConsumerFunction · 0.90

Tested by

no test coverage detected