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 () {
367
367
}
368
368
} ;
369
369
370
- spyOn ( $rootScope , '$apply' ) ;
370
+ spyOn ( $rootScope , '$apply' ) . andCallThrough ( ) ;
371
371
372
372
angular . forEach ( scope . uiConfig . calendar , function ( value , key ) {
373
373
if ( typeof value === 'function' ) {
374
374
functionCount ++ ;
375
- spyOn ( scope . uiConfig . calendar , key ) ;
375
+ spyOn ( scope . uiConfig . calendar , key ) . andCallThrough ( ) ;
376
376
377
377
var fullCalendarConfig = calendarCtrl . getFullCalendarConfig ( scope . uiConfig . calendar , { } ) ;
378
378
@@ -401,12 +401,12 @@ describe('uiCalendar', function () {
401
401
}
402
402
} ;
403
403
404
- spyOn ( $rootScope , '$apply' ) ;
404
+ spyOn ( $rootScope , '$apply' ) . andCallThrough ( ) ;
405
405
406
406
angular . forEach ( scope . uiConfig . calendar , function ( value , key ) {
407
407
if ( typeof value === 'function' ) {
408
408
functionCount ++ ;
409
- spyOn ( scope . uiConfig . calendar , key ) ;
409
+ spyOn ( scope . uiConfig . calendar , key ) . andCallThrough ( ) ;
410
410
411
411
var fullCalendarConfig = calendarCtrl . getFullCalendarConfig ( scope . uiConfig . calendar , { } ) ;
412
412
You can’t perform that action at this time.
0 commit comments