Skip to content

Commit 9673f63

Browse files
ppham27andrewseguin
authored andcommittedOct 13, 2017
fix(scroll): Replace references to scrollableReferences (#7752)
The demo app won't build due to PR #7630.
1 parent b29ac45 commit 9673f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/cdk/scrolling/scroll-dispatcher.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('Scroll Dispatcher', () => {
174174
fixture.detectChanges();
175175

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

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.