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 @@ -2565,6 +2565,7 @@ describe('IgxGrid - GroupBy #grid', () => {
25652565 it ( 'should apply custom comparer function when grouping by dragging a column into the group area' , async ( ) => {
25662566 const fix = TestBed . createComponent ( GroupableGridComponent ) ;
25672567 const grid = fix . componentInstance . instance ;
2568+ const year = new Date ( ) . getFullYear ( ) . toString ( ) ;
25682569 fix . detectChanges ( ) ;
25692570 await wait ( ) ;
25702571
@@ -2604,7 +2605,7 @@ describe('IgxGrid - GroupBy #grid', () => {
26042605 expect ( grid . groupsRecords . length ) . toEqual ( 2 ) ;
26052606 expect ( grid . groupsRecords [ 1 ] . records . length ) . toEqual ( 6 ) ;
26062607 for ( let i = 0 ; i < grid . groupsRecords [ 1 ] . records . length ; i ++ ) {
2607- expect ( grid . groupsRecords [ 1 ] . records [ i ] . ReleaseDate . getFullYear ( ) . toString ( ) ) . toEqual ( '2019' ) ;
2608+ expect ( grid . groupsRecords [ 1 ] . records [ i ] . ReleaseDate . getFullYear ( ) . toString ( ) ) . toEqual ( year ) ;
26082609 }
26092610 } ) ;
26102611
You can’t perform that action at this time.
0 commit comments