2016-04-07 20:17:50 -04:00
|
|
|
import {TEST_BROWSER_STATIC_PLATFORM_PROVIDERS, ADDITIONAL_TEST_BROWSER_PROVIDERS} from 'angular2/platform/testing/browser_static';
|
2015-12-15 19:38:27 -05:00
|
|
|
import {BROWSER_APP_PROVIDERS} from 'angular2/platform/browser';
|
|
|
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
|
|
|
|
2016-04-06 18:58:23 -04: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 19:38:27 -05:00
|
|
|
/**
|
|
|
|
* Default patform providers for testing.
|
|
|
|
*/
|
|
|
|
export const TEST_BROWSER_PLATFORM_PROVIDERS: Array<any /*Type | Provider | any[]*/> =
|
|
|
|
CONST_EXPR([TEST_BROWSER_STATIC_PLATFORM_PROVIDERS]);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Default application providers for testing.
|
|
|
|
*/
|
|
|
|
export const TEST_BROWSER_APPLICATION_PROVIDERS: Array<any /*Type | Provider | any[]*/> =
|
|
|
|
CONST_EXPR([BROWSER_APP_PROVIDERS, ADDITIONAL_TEST_BROWSER_PROVIDERS]);
|