BrowserDynamicTestingModule

NgModule for testing.

class BrowserDynamicTestingModule { }

注解

@NgModule({ exports: [BrowserTestingModule], providers: [ { provide: TestComponentRenderer, useClass: DOMTestComponentRenderer }, ] })