W3cubDocs

/Angular 4 TypeScript

BrowserTestingModule

Stable Class

Class Overview

class BrowserTestingModule {
}

Class Description

NgModule for testing.

Annotations

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

exported from platform-browser/testing/index, defined in platform-browser/testing/src/browser.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/platform-browser/testing/index/BrowserTestingModule-class.html