Deprecation Notes
Use TestBed.initTestEnvironment instead
Class Export
export setBaseTestProviders(platformProviders: Array<Type|Provider|any[]>, applicationProviders: Array<Type|Provider|any[]>)
Set the providers that the test injector should use. These should be providers common to every test in the suite.
This may only be called once, to set up the common providers for the current test
suite on the current platform. If you absolutely need to change the providers,
first use resetBaseTestProviders
.
Test modules and platforms for individual platforms are available from
'angular2/platform/testing/
exported from @angular/core/testing defined in @angular/core/testing/test_bed.ts (line 386)