File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -321,12 +321,18 @@ describe('MdSelect', () => {
321
321
322
322
options =
323
323
overlayContainerElement . querySelectorAll ( 'md-option' ) as NodeListOf < HTMLElement > ;
324
- expect ( options [ 0 ] . classList ) . not . toContain ( 'mat-selected' , 'Expected first option to no longer be selected' ) ;
325
- expect ( options [ 1 ] . classList ) . toContain ( 'mat-selected' , 'Expected second option to be selected' ) ;
324
+
325
+ expect ( options [ 0 ] . classList )
326
+ . not . toContain ( 'mat-selected' , 'Expected first option to no longer be selected' ) ;
327
+ expect ( options [ 1 ] . classList )
328
+ . toContain ( 'mat-selected' , 'Expected second option to be selected' ) ;
326
329
327
330
const optionInstances = fixture . componentInstance . options . toArray ( ) ;
328
- expect ( optionInstances [ 0 ] . selected ) . toBe ( false , 'Expected first option to no longer be selected' ) ;
329
- expect ( optionInstances [ 1 ] . selected ) . toBe ( true , 'Expected second option to be selected' ) ;
331
+
332
+ expect ( optionInstances [ 0 ] . selected )
333
+ . toBe ( false , 'Expected first option to no longer be selected' ) ;
334
+ expect ( optionInstances [ 1 ] . selected )
335
+ . toBe ( true , 'Expected second option to be selected' ) ;
330
336
} ) ;
331
337
332
338
it ( 'should remove selection if option has been removed' , async ( ( ) => {
You can’t perform that action at this time.
0 commit comments