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–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/platform-browser/testing/index/BrowserTestingModule-class.html