File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
projects/igniteui-angular/src/lib/grids/grid Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2535,6 +2535,7 @@ describe('IgxGrid - GroupBy', () => {
25352535 it ( 'should apply custom comparer function when grouping by dragging a column into the group area' , async ( ) => {
25362536 const fix = TestBed . createComponent ( GroupableGridComponent ) ;
25372537 const grid = fix . componentInstance . instance ;
2538+ const year = new Date ( ) . getFullYear ( ) . toString ( ) ;
25382539 fix . detectChanges ( ) ;
25392540 await wait ( ) ;
25402541
@@ -2574,7 +2575,7 @@ describe('IgxGrid - GroupBy', () => {
25742575 expect ( grid . groupsRecords . length ) . toEqual ( 2 ) ;
25752576 expect ( grid . groupsRecords [ 1 ] . records . length ) . toEqual ( 6 ) ;
25762577 for ( let i = 0 ; i < grid . groupsRecords [ 1 ] . records . length ; i ++ ) {
2577- expect ( grid . groupsRecords [ 1 ] . records [ i ] . ReleaseDate . getFullYear ( ) . toString ( ) ) . toEqual ( '2019' ) ;
2578+ expect ( grid . groupsRecords [ 1 ] . records [ i ] . ReleaseDate . getFullYear ( ) . toString ( ) ) . toEqual ( year ) ;
25782579 }
25792580 } ) ;
25802581
You can’t perform that action at this time.
0 commit comments