Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ clearModulesForTest
Function
clearModulesForTest
packages/core/src/linker/ng_module_registration.ts:52–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
}
51
52
export
function
clearModulesForTest(): void {
53
modules.clear();
54
}
55
56
export
function
getRegisteredNgModuleType(id: string): NgModuleType | undefined {
57
return
modules.get(id);
Callers
1
ng_module_integration_spec.ts
File · 0.90
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected