BrowserTestingModule

NgModule for testing.

class BrowserTestingModule { }

注解

@NgModule({ exports: [BrowserModule], providers: [ { provide: APP_ID, useValue: 'a' }, ELEMENT_PROBE_PROVIDERS, { provide: NgZone, useFactory: createNgZone }, ] })