Credit to devdocs.io

angular 2.0_typescript

angular

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},
    {provide: AnimationDriver, useValue: AnimationDriver.NOOP}
  ]
})

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

© 2010–2016 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