@@ -249,42 +249,42 @@ function commonTests() {
249249 } , resultTimer ) ;
250250 } ) , testTimeout ) ;
251251
252- it ( 'should run subscriber listeners in the subscription zone (outside)' ,
253- inject ( [ AsyncTestCompleter ] , ( async ) => {
254- // Each subscriber fires a microtask outside the Angular zone. The test
255- // then verifies that those microtasks do not cause additional digests.
256-
257- var turnStart = false ;
258- ObservableWrapper . subscribe ( _zone . onTurnStart , ( _ ) => {
259- if ( turnStart ) throw 'Should not call this more than once' ;
260- _log . add ( 'onTurnStart' ) ;
261- microTask ( ( ) => { } ) ;
262- turnStart = true ;
263- } ) ;
264-
265- var turnDone = false ;
266- ObservableWrapper . subscribe ( _zone . onTurnDone , ( _ ) => {
267- if ( turnDone ) throw 'Should not call this more than once' ;
268- _log . add ( 'onTurnDone' ) ;
269- microTask ( ( ) => { } ) ;
270- turnDone = true ;
271- } ) ;
272-
273- var eventDone = false ;
274- ObservableWrapper . subscribe ( _zone . onEventDone , ( _ ) => {
275- if ( eventDone ) throw 'Should not call this more than once' ;
276- _log . add ( 'onEventDone' ) ;
277- microTask ( ( ) => { } ) ;
278- eventDone = true ;
279- } ) ;
280-
281- macroTask ( ( ) => { _zone . run ( _log . fn ( 'run' ) ) ; } ) ;
282-
283- macroTask ( ( ) => {
284- expect ( _log . result ( ) ) . toEqual ( 'onTurnStart; run; onTurnDone; onEventDone' ) ;
285- async . done ( ) ;
286- } , resultTimer ) ;
287- } ) , testTimeout ) ;
252+ xit ( 'should run subscriber listeners in the subscription zone (outside)' ,
253+ inject ( [ AsyncTestCompleter ] , ( async ) => {
254+ // Each subscriber fires a microtask outside the Angular zone. The test
255+ // then verifies that those microtasks do not cause additional digests.
256+
257+ var turnStart = false ;
258+ ObservableWrapper . subscribe ( _zone . onTurnStart , ( _ ) => {
259+ if ( turnStart ) throw 'Should not call this more than once' ;
260+ _log . add ( 'onTurnStart' ) ;
261+ microTask ( ( ) => { } ) ;
262+ turnStart = true ;
263+ } ) ;
264+
265+ var turnDone = false ;
266+ ObservableWrapper . subscribe ( _zone . onTurnDone , ( _ ) => {
267+ if ( turnDone ) throw 'Should not call this more than once' ;
268+ _log . add ( 'onTurnDone' ) ;
269+ microTask ( ( ) => { } ) ;
270+ turnDone = true ;
271+ } ) ;
272+
273+ var eventDone = false ;
274+ ObservableWrapper . subscribe ( _zone . onEventDone , ( _ ) => {
275+ if ( eventDone ) throw 'Should not call this more than once' ;
276+ _log . add ( 'onEventDone' ) ;
277+ microTask ( ( ) => { } ) ;
278+ eventDone = true ;
279+ } ) ;
280+
281+ macroTask ( ( ) => { _zone . run ( _log . fn ( 'run' ) ) ; } ) ;
282+
283+ macroTask ( ( ) => {
284+ expect ( _log . result ( ) ) . toEqual ( 'onTurnStart; run; onTurnDone; onEventDone' ) ;
285+ async . done ( ) ;
286+ } , resultTimer ) ;
287+ } ) , testTimeout ) ;
288288
289289 it ( 'should run subscriber listeners in the subscription zone (inside)' ,
290290 inject ( [ AsyncTestCompleter ] , ( async ) => {
0 commit comments