2016-04-12 09:40:37 -07:00
|
|
|
import {
|
|
|
|
TEST_BROWSER_STATIC_PLATFORM_PROVIDERS,
|
|
|
|
ADDITIONAL_TEST_BROWSER_PROVIDERS
|
|
|
|
} from 'angular2/platform/testing/browser_static';
|
2015-12-15 16:38:27 -08:00
|
|
|
import {BROWSER_APP_PROVIDERS} from 'angular2/platform/browser';
|
|
|
|
|
2016-04-06 15:58:23 -07:00
|
|
|
/**
|
|
|
|
* Providers for using template cache to avoid actual XHR.
|
|
|
|
* Re-exported here so that tests import from a single place.
|
|
|
|
*/
|
|
|
|
export {CACHED_TEMPLATE_PROVIDER} from 'angular2/platform/browser';
|
|
|
|
|
2015-12-15 16:38:27 -08:00
|
|
|
/**
|
2016-04-15 11:59:44 +08:00
|
|
|
* Default platform providers for testing.
|
2015-12-15 16:38:27 -08:00
|
|
|
*/
|
|
|
|
export const TEST_BROWSER_PLATFORM_PROVIDERS: Array<any /*Type | Provider | any[]*/> =
|
2016-04-25 21:47:33 -07:00
|
|
|
/*@ts2dart_const*/[TEST_BROWSER_STATIC_PLATFORM_PROVIDERS];
|
2015-12-15 16:38:27 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Default application providers for testing.
|
|
|
|
*/
|
|
|
|
export const TEST_BROWSER_APPLICATION_PROVIDERS: Array<any /*Type | Provider | any[]*/> =
|
2016-04-25 21:47:33 -07:00
|
|
|
/*@ts2dart_const*/[BROWSER_APP_PROVIDERS, ADDITIONAL_TEST_BROWSER_PROVIDERS];
|