File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
projects/igniteui-angular/src/lib/grids/grid Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,9 @@ describe('IgxGrid - Cell merging #grid', () => {
578578
579579 // check api
580580 expect ( grid . getSelectedData ( ) . length ) . toBe ( 5 ) ;
581- expect ( grid . getSelectedData ( ) ) . toEqual ( grid . data . slice ( 0 , 5 ) . map ( x => { return { 'ID' : x . ID , 'ProductName' : x . ProductName } } ) ) ;
581+ expect ( grid . getSelectedData ( ) ) . toEqual ( grid . data . slice ( 0 , 5 ) . map ( x => {
582+ return { 'ID' : x . ID , 'ProductName' : x . ProductName } ;
583+ } ) ) ;
582584 } ) ;
583585 } ) ;
584586
@@ -603,7 +605,9 @@ describe('IgxGrid - Cell merging #grid', () => {
603605 col . selected = true ;
604606 fix . detectChanges ( ) ;
605607
606- expect ( grid . getSelectedColumnsData ( ) ) . toEqual ( grid . data . map ( x => { return { 'ProductName' : x . ProductName } } ) ) ;
608+ expect ( grid . getSelectedColumnsData ( ) ) . toEqual ( grid . data . map ( x => {
609+ return { 'ProductName' : x . ProductName } ;
610+ } ) ) ;
607611 } ) ;
608612 } ) ;
609613
You can’t perform that action at this time.
0 commit comments