Skip to content

Commit

Permalink
fix(scroll): Replace references to scrollableReferences (#7752)
Browse files Browse the repository at this point in the history
The demo app won't build due to PR #7630.
  • Loading branch information
ppham27 authored and andrewseguin committed Oct 13, 2017
1 parent b29ac45 commit 9673f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cdk/scrolling/scroll-dispatcher.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ describe('Scroll Dispatcher', () => {
fixture.detectChanges();

expect(scroll._globalSubscription).toBeNull('Expected no global listeners on init.');
expect(scroll.scrollableReferences.size).toBe(4, 'Expected multiple scrollables');
expect(scroll.scrollContainers.size).toBe(4, 'Expected multiple scrollables');

const subscription = scroll.scrolled(0).subscribe(() => {});

Expand All @@ -185,7 +185,7 @@ describe('Scroll Dispatcher', () => {

expect(scroll._globalSubscription).toBeNull(
'Expected global listeners to have been removed after the subscription has stopped.');
expect(scroll.scrollableReferences.size)
expect(scroll.scrollContainers.size)
.toBe(4, 'Expected scrollable count to stay the same');
});

Expand Down

0 comments on commit 9673f63

Please sign in to comment.