forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowser.dart
More file actions
26 lines (24 loc) · 874 Bytes
/
browser.dart
File metadata and controls
26 lines (24 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
library angular2.platform.testing.browser;
import "package:angular2/platform/testing/browser_static.dart"
show
TEST_BROWSER_STATIC_PLATFORM_PROVIDERS,
ADDITIONAL_TEST_BROWSER_PROVIDERS;
import "package:angular2/platform/browser.dart" show BROWSER_APP_PROVIDERS;
/**
* Providers for using template cache to avoid actual XHR.
* Re-exported here so that tests import from a single place.
*/
export "package:angular2/platform/browser.dart" show CACHED_TEMPLATE_PROVIDER;
/**
* Default platform providers for testing.
*/
const List<dynamic> TEST_BROWSER_PLATFORM_PROVIDERS =
/*@ts2dart_const*/ const [TEST_BROWSER_STATIC_PLATFORM_PROVIDERS];
/**
* Default application providers for testing.
*/
const List<dynamic> TEST_BROWSER_APPLICATION_PROVIDERS =
/*@ts2dart_const*/ const [
BROWSER_APP_PROVIDERS,
ADDITIONAL_TEST_BROWSER_PROVIDERS
];