This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

BrowserTestingModule

NgModule for testing.

      
      class BrowserTestingModule {
}
    

Providers

Provider
{ provide: APP_ID, useValue: 'a' }
      
      { provide: APP_ID, useValue: 'a' }
    
ELEMENT_PROBE_PROVIDERS
      
      ELEMENT_PROBE_PROVIDERS
    
{ provide: NgZone, useFactory: createNgZone }
      
      { provide: NgZone, useFactory: createNgZone }