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

Class AsyncModule

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

NgModuleInterface · 0.90

Tested by

no test coverage detected