Skip to content

Commit b7457cf

Browse files
crisbetojelbourn
authored andcommitted
test(material/select): fix failing unit test (#23870)
Fixes a unit test that started failing, because it tries to scroll the page down, but there isn't enough content for it to scroll. (cherry picked from commit 94aa7d3)
1 parent 499e263 commit b7457cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/select/select.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4407,7 +4407,7 @@ describe('MatSelect', () => {
44074407

44084408
it('should fall back to "below" positioning properly when scrolled', fakeAsync(() => {
44094409
// Give plenty of space for the select to open below the trigger
4410-
fixture.componentInstance.heightBelow = 650;
4410+
fixture.componentInstance.heightBelow = 2000;
44114411
fixture.detectChanges();
44124412

44134413
// Select an option too low in the list to fit in limited space above

0 commit comments

Comments
 (0)