Skip to content

Commit 7e43e3d

Browse files
committed
re-run tests
1 parent 77208a9 commit 7e43e3d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/lib/select/select.spec.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ describe('MdSelect', () => {
991991
`Expected trigger to align with the selected option on the x-axis in LTR.`);
992992
});
993993

994-
it('should align the trigger and the selected option on the x-axis in rtl', () => {
994+
it('should align the trigger and the selected option on the x-axis in rtl', async(() => {
995995
dir.value = 'rtl';
996996

997997
trigger.click();
@@ -1003,10 +1003,12 @@ describe('MdSelect', () => {
10031003

10041004
// Each option is 32px wider than the trigger, so it must be adjusted 16px
10051005
// to ensure the text overlaps correctly.
1006-
expect(firstOptionRight.toFixed(2))
1007-
.toEqual((triggerRight + 16).toFixed(2),
1008-
`Expected trigger to align with the selected option on the x-axis in RTL.`);
1009-
});
1006+
fixture.whenStable().then(() => {
1007+
expect(firstOptionRight.toFixed(2))
1008+
.toEqual((triggerRight + 16).toFixed(2),
1009+
`Expected trigger to align with the selected option on the x-axis in RTL.`);
1010+
});
1011+
}));
10101012
});
10111013

10121014
});

0 commit comments

Comments
 (0)