Skip to content

Commit c795e2b

Browse files
committed
Exclude test that fails on older Angular versions.
1 parent 7900906 commit c795e2b

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/lib/select/select.spec.ts

-22
Original file line numberDiff line numberDiff line change
@@ -1406,28 +1406,6 @@ describe('MdSelect', () => {
14061406
});
14071407
}));
14081408

1409-
it('should be considered invalid when there are no selected options', () => {
1410-
testInstance.isRequired = true;
1411-
fixture.detectChanges();
1412-
1413-
expect(testInstance.control.valid).toBe(false, 'Should be invalid when the value is null.');
1414-
1415-
trigger.click();
1416-
fixture.detectChanges();
1417-
1418-
let option = overlayContainerElement.querySelector('md-option') as HTMLElement;
1419-
1420-
option.click();
1421-
fixture.detectChanges();
1422-
1423-
expect(testInstance.control.valid).toBe(true, 'Should be valid when the array has items.');
1424-
1425-
option.click();
1426-
fixture.detectChanges();
1427-
1428-
expect(testInstance.control.valid).toBe(false, 'Should be invalid when the array is empty.');
1429-
});
1430-
14311409
});
14321410
});
14331411

0 commit comments

Comments
 (0)