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 @@ -389,12 +389,12 @@ describe('uiCalendar', function () {
389
389
}
390
390
} ;
391
391
392
- spyOn ( $rootScope , '$apply' ) ;
392
+ spyOn ( $rootScope , '$apply' ) . andCallThrough ( ) ;
393
393
394
394
angular . forEach ( scope . uiConfig . calendar , function ( value , key ) {
395
395
if ( typeof value === 'function' ) {
396
396
functionCount ++ ;
397
- spyOn ( scope . uiConfig . calendar , key ) ;
397
+ spyOn ( scope . uiConfig . calendar , key ) . andCallThrough ( ) ;
398
398
399
399
var fullCalendarConfig = calendarCtrl . getFullCalendarConfig ( scope . uiConfig . calendar , { } ) ;
400
400
@@ -423,12 +423,12 @@ describe('uiCalendar', function () {
423
423
}
424
424
} ;
425
425
426
- spyOn ( $rootScope , '$apply' ) ;
426
+ spyOn ( $rootScope , '$apply' ) . andCallThrough ( ) ;
427
427
428
428
angular . forEach ( scope . uiConfig . calendar , function ( value , key ) {
429
429
if ( typeof value === 'function' ) {
430
430
functionCount ++ ;
431
- spyOn ( scope . uiConfig . calendar , key ) ;
431
+ spyOn ( scope . uiConfig . calendar , key ) . andCallThrough ( ) ;
432
432
433
433
var fullCalendarConfig = calendarCtrl . getFullCalendarConfig ( scope . uiConfig . calendar , { } ) ;
434
434
You can’t perform that action at this time.
0 commit comments