MCPcopy Index your code
hub / github.com/angular/angular / AsyncModule

Class AsyncModule

packages/platform-browser/test/browser/bootstrap_spec.ts:667–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665
666 it('should throw a descriptive error if BrowserModule is installed again via a lazily loaded module', (done) => {
667 @NgModule({imports: [BrowserModule]})
668 class AsyncModule {}
669 bootstrap(HelloRootCmp, testProviders)
670 .then((ref: ComponentRef<HelloRootCmp>) => {
671 const compiler: Compiler = ref.injector.get(Compiler);

Callers

nothing calls this directly

Calls 1

NgModuleInterface · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…