Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/render3/reactive_safety_spec.ts:77–79 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
75
})
76
class
TestCmp {
77
constructor() {
78
expect(getActiveConsumer()).toBe(null);
79
}
80
}
81
82
const
environmentInjector = TestBed.inject(EnvironmentInjector);
Callers
nothing calls this directly
Calls
1
getActiveConsumer
Function · 0.90
Tested by
no test coverage detected