File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/components/src/table Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ describe('Table component', () => {
486486 expect ( spectator . component . shouldHighlightRowAsSelection ( statefulRows [ 1 ] ) ) . toBeFalsy ( ) ;
487487 } ) ;
488488
489- test ( 'row should not be highlighted only in multi selection mode' , ( ) => {
489+ test ( 'row should be highlighted (even) when in multi selection mode' , ( ) => {
490490 const columns = buildColumns ( ) ;
491491 const rows = buildData ( ) ;
492492 const statefulRows = TableCdkRowUtil . buildInitialRowStates ( rows ) ;
@@ -504,7 +504,7 @@ describe('Table component', () => {
504504 }
505505 ) ;
506506
507- expect ( spectator . component . shouldHighlightRowAsSelection ( statefulRows [ 0 ] ) ) . toBeFalsy ( ) ;
507+ expect ( spectator . component . shouldHighlightRowAsSelection ( statefulRows [ 0 ] ) ) . toBeTruthy ( ) ;
508508 expect ( spectator . component . shouldHighlightRowAsSelection ( statefulRows [ 1 ] ) ) . toBeFalsy ( ) ;
509509 } ) ;
510510
You can’t perform that action at this time.
0 commit comments