MCPcopy Index your code
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
52export function clearModulesForTest(): void {
53 modules.clear();
54}
55
56export function getRegisteredNgModuleType(id: string): NgModuleType | undefined {
57 return modules.get(id);

Callers 1

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…