88 inject ,
99 it ,
1010 xdescribe ,
11- xit ,
12- IS_DARTIUM
11+ xit
1312} from 'angular2/test_lib' ;
1413import { isPresent , stringify } from 'angular2/src/facade/lang' ;
1514import { bootstrap , ApplicationRef } from 'angular2/src/core/application' ;
@@ -21,6 +20,7 @@ import {LifeCycle} from 'angular2/core';
2120import { ExceptionHandler } from 'angular2/src/core/exception_handler' ;
2221import { Testability , TestabilityRegistry } from 'angular2/src/core/testability/testability' ;
2322import { DOCUMENT } from 'angular2/src/render/render' ;
23+ import { IS_DART } from '../platform' ;
2424
2525@Component ( { selector : 'hello-app' } )
2626@View ( { template : '{{greeting}} world!' } )
@@ -109,7 +109,7 @@ export function main() {
109109
110110 it ( 'should throw if no element is found' , inject ( [ AsyncTestCompleter ] , ( async ) => {
111111 var logger = new _ArrayLogger ( ) ;
112- var exceptionHandler = new ExceptionHandler ( logger , IS_DARTIUM ? false : true ) ;
112+ var exceptionHandler = new ExceptionHandler ( logger , IS_DART ? false : true ) ;
113113
114114 var refPromise =
115115 bootstrap ( HelloRootCmp , [ bind ( ExceptionHandler ) . toValue ( exceptionHandler ) ] ) ;
@@ -124,7 +124,7 @@ export function main() {
124124 it ( 'should invoke the default exception handler when bootstrap fails' ,
125125 inject ( [ AsyncTestCompleter ] , ( async ) => {
126126 var logger = new _ArrayLogger ( ) ;
127- var exceptionHandler = new ExceptionHandler ( logger , IS_DARTIUM ? false : true ) ;
127+ var exceptionHandler = new ExceptionHandler ( logger , IS_DART ? false : true ) ;
128128
129129 var refPromise =
130130 bootstrap ( HelloRootCmp , [ bind ( ExceptionHandler ) . toValue ( exceptionHandler ) ] ) ;
0 commit comments