This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -367,12 +367,12 @@ describe('uiCalendar', function () {
367367 }
368368 } ;
369369
370- spyOn ( $rootScope , '$apply' ) ;
370+ spyOn ( $rootScope , '$apply' ) . andCallThrough ( ) ;
371371
372372 angular . forEach ( scope . uiConfig . calendar , function ( value , key ) {
373373 if ( typeof value === 'function' ) {
374374 functionCount ++ ;
375- spyOn ( scope . uiConfig . calendar , key ) ;
375+ spyOn ( scope . uiConfig . calendar , key ) . andCallThrough ( ) ;
376376
377377 var fullCalendarConfig = calendarCtrl . getFullCalendarConfig ( scope . uiConfig . calendar , { } ) ;
378378
@@ -401,12 +401,12 @@ describe('uiCalendar', function () {
401401 }
402402 } ;
403403
404- spyOn ( $rootScope , '$apply' ) ;
404+ spyOn ( $rootScope , '$apply' ) . andCallThrough ( ) ;
405405
406406 angular . forEach ( scope . uiConfig . calendar , function ( value , key ) {
407407 if ( typeof value === 'function' ) {
408408 functionCount ++ ;
409- spyOn ( scope . uiConfig . calendar , key ) ;
409+ spyOn ( scope . uiConfig . calendar , key ) . andCallThrough ( ) ;
410410
411411 var fullCalendarConfig = calendarCtrl . getFullCalendarConfig ( scope . uiConfig . calendar , { } ) ;
412412
You can’t perform that action at this time.
0 commit comments