@@ -418,7 +418,7 @@ describe('IgxGrid - Cell selection #grid', () => {
418
418
GridSelectionFunctions . verifyCellsRegionSelected ( grid , 0 , 2 , 1 , 2 , false ) ;
419
419
expect ( rangeChangeSpy ) . toHaveBeenCalledTimes ( 1 ) ;
420
420
expect ( grid . selectedCells . length ) . toBe ( 0 ) ;
421
- expect ( grid . getSelectedData ( ) ) . toEqual ( [ ] ) ;
421
+ expect ( grid . getSelectedData ( ) . length ) . toBe ( 1 ) ;
422
422
expect ( grid . getSelectedRanges ( ) ) . toEqual ( [ ] ) ;
423
423
} ) ;
424
424
@@ -2918,7 +2918,7 @@ describe('IgxGrid - Cell selection #grid', () => {
2918
2918
GridSelectionFunctions . verifyCellSelected ( secondCell , false ) ;
2919
2919
GridSelectionFunctions . verifyCellSelected ( thirdCell , false ) ;
2920
2920
expect ( grid . selectedCells . length ) . toBe ( 0 ) ;
2921
- expect ( grid . getSelectedData ( ) ) . toEqual ( [ ] ) ;
2921
+ expect ( grid . getSelectedData ( ) . length ) . toBe ( 1 ) ;
2922
2922
expect ( grid . getSelectedRanges ( ) ) . toEqual ( [ ] ) ;
2923
2923
} ) ;
2924
2924
@@ -2963,7 +2963,7 @@ describe('IgxGrid - Cell selection #grid', () => {
2963
2963
cell = grid . getCellByColumn ( 1 , 'ParentID' ) ;
2964
2964
GridSelectionFunctions . verifyCellSelected ( cell , false ) ;
2965
2965
expect ( grid . selectedCells . length ) . toBe ( 0 ) ;
2966
- expect ( grid . getSelectedData ( ) ) . toEqual ( [ ] ) ;
2966
+ expect ( grid . getSelectedData ( ) . length ) . toBe ( 1 ) ;
2967
2967
expect ( grid . getSelectedRanges ( ) ) . toEqual ( [ ] ) ;
2968
2968
} ) ;
2969
2969
@@ -2980,7 +2980,7 @@ describe('IgxGrid - Cell selection #grid', () => {
2980
2980
GridSelectionFunctions . verifyCellSelected ( endCell , false ) ;
2981
2981
expect ( rangeChangeSpy ) . toHaveBeenCalledTimes ( 0 ) ;
2982
2982
expect ( grid . selectedCells . length ) . toBe ( 0 ) ;
2983
- expect ( grid . getSelectedData ( ) ) . toEqual ( [ ] ) ;
2983
+ expect ( grid . getSelectedData ( ) . length ) . toBe ( 1 ) ;
2984
2984
expect ( grid . getSelectedRanges ( ) ) . toEqual ( [ ] ) ;
2985
2985
} ) ;
2986
2986
0 commit comments