mode_edit codeAPI / @angular/platform-browser-dynamic/testingBrowserDynamicTestingModulelinkclass 稳定NgModule for testing.class BrowserDynamicTestingModule { }注解link@NgModule({ exports: [BrowserTestingModule], providers: [ { provide: TestComponentRenderer, useClass: DOMTestComponentRenderer }, ] })