mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(scroll): Replace references to scrollableReferences (#7752)
The demo app won't build due to PR #7630.
This commit is contained in:
committed by
Andrew Seguin
parent
b29ac45c0b
commit
9673f63c11
@@ -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(() => {});
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user