Skip to content

Commit 1cfdb0e

Browse files
committed
chore(*): Update failing tests.
1 parent 6ab6bc4 commit 1cfdb0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid/column-resizing.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ describe('IgxGrid - Deferred Column Resizing #grid', () => {
375375

376376
it('should autosize column programmatically.', fakeAsync(/** height/width setter rAF */() => {
377377
const column = grid.getColumnByName('ID');
378+
column.minWidth = '30px';
378379
expect(column.width).toEqual('100px');
379380

380381
column.autosize();
@@ -417,11 +418,12 @@ describe('IgxGrid - Deferred Column Resizing #grid', () => {
417418
const column = grid.getColumnByName('ID');
418419
column.minWidth = '70px';
419420
expect(column.minWidth).toEqual('70px');
421+
expect(column.width).toEqual('100px');
420422

421423
column.autosize();
422424
fixture.detectChanges();
423425

424-
expect(column.width).toEqual('63px');
426+
expect(column.width).toEqual('70px');
425427
}));
426428
});
427429

0 commit comments

Comments
 (0)