File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments