@@ -30,7 +30,7 @@ import {BrowserDetection} from 'angular2/src/testing/utils';
3030
3131import { ELEMENT_PROBE_PROVIDERS } from 'angular2/platform/common_dom' ;
3232
33- import { CONST_EXPR , IS_DART } from 'angular2/src/facade/lang' ;
33+ import { IS_DART } from 'angular2/src/facade/lang' ;
3434
3535import { Log } from 'angular2/src/testing/utils' ;
3636
@@ -47,14 +47,14 @@ function createNgZone(): NgZone {
4747 * Default platform providers for testing without a compiler.
4848 */
4949export const TEST_BROWSER_STATIC_PLATFORM_PROVIDERS : Array < any /*Type | Provider | any[]*/ > =
50- CONST_EXPR ( [
50+ /* @ts 2dart_const*/ [
5151 PLATFORM_COMMON_PROVIDERS ,
52- new Provider ( PLATFORM_INITIALIZER , { useValue : initBrowserTests , multi : true } )
52+ new Provider ( PLATFORM_INITIALIZER , { useValue : initBrowserTests , multi : true }
5353 ] ) ;
5454
5555export const ADDITIONAL_TEST_BROWSER_PROVIDERS : Array < any /*Type | Provider | any[]*/ > =
56- CONST_EXPR ( [
57- new Provider ( APP_ID , { useValue : 'a' } ) ,
56+ /* @ts 2dart_const*/ [
57+ new Provider ( APP_ID , { useValue : 'a' } ,
5858 ELEMENT_PROBE_PROVIDERS ,
5959 new Provider ( DirectiveResolver , { useClass : MockDirectiveResolver } ) ,
6060 new Provider ( ViewResolver , { useClass : MockViewResolver } ) ,
@@ -69,8 +69,8 @@ export const ADDITIONAL_TEST_BROWSER_PROVIDERS: Array<any /*Type | Provider | an
6969 * Default application providers for testing without a compiler.
7070 */
7171export const TEST_BROWSER_STATIC_APPLICATION_PROVIDERS : Array < any /*Type | Provider | any[]*/ > =
72- CONST_EXPR ( [
72+ /* @ts 2dart_const*/ [
7373 BROWSER_APP_COMMON_PROVIDERS ,
74- new Provider ( XHR , { useClass : XHRImpl } ) ,
74+ new Provider ( XHR , { useClass : XHRImpl } ,
7575 ADDITIONAL_TEST_BROWSER_PROVIDERS
7676 ] ) ;
0 commit comments