diff --git a/tests/modules/infinite-scroll.directive.spec.ts b/tests/modules/infinite-scroll.directive.spec.ts index 5cc7b0b3..4ac5e94e 100644 --- a/tests/modules/infinite-scroll.directive.spec.ts +++ b/tests/modules/infinite-scroll.directive.spec.ts @@ -33,6 +33,7 @@ describe('Infinite Scroll Directive', () => { beforeEach(() =>{ zoneSpy = jasmine.createSpyObj('zone', ['run']); + zoneSpy.runOutsideAngular = (fn) => fn(); scrollResolverSpy = { getScrollStats: () => { return { shouldScroll: true, isScrollingDown };