File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
projects/igniteui-angular/src/lib/grids/grid Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ describe('Row Pinning #grid', () => {
304
304
expect ( grid . getRowByIndex ( 0 ) . rowID ) . toBe ( fix . componentInstance . data [ 1 ] ) ;
305
305
} ) ;
306
306
307
- it ( 'should pin rows when columns are grouped.' , ( ) => {
307
+ it ( 'should pin rows when columns are grouped.' , async ( ) => {
308
308
grid . height = '650px' ;
309
309
fix . detectChanges ( ) ;
310
310
// pin 1st and 2nd data row
@@ -336,6 +336,9 @@ describe('Row Pinning #grid', () => {
336
336
grid . pinRow ( fix . componentInstance . data [ 3 ] ) ;
337
337
fix . detectChanges ( ) ;
338
338
339
+ await wait ( DEBOUNCE_TIME ) ;
340
+ fix . detectChanges ( ) ;
341
+
339
342
expect ( grid . pinnedRows . length ) . toBe ( 3 ) ;
340
343
341
344
// make sure the pinned rows is in the unpinned area as disabled row
You can’t perform that action at this time.
0 commit comments