W3cubDocs

/Angular

BrowserTestingModule

class

npm Package @angular/platform-browser
Module import { BrowserTestingModule } from '@angular/platform-browser/testing';
Source platform-browser/testing/src/browser.ts

Overview

class BrowserTestingModule {
}

Description

NgModule for testing.

Annotations

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

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