ServerTestingModule

NgModule for testing.

class ServerTestingModule { }

注解

@NgModule({ exports: [BrowserDynamicTestingModule], imports: [NoopAnimationsModule], providers: SERVER_RENDER_PROVIDERS })