Skip to content

Commit 5241d7b

Browse files
MKirovaMKirova
authored andcommitted
Ensure there's enough space to show the last cell fom the row in test.
1 parent 6f0ddb6 commit 5241d7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ describe('Basic IgxPivotGrid #pivotGrid', () => {
2323
}));
2424

2525
it('should apply formatter and dataType from measures', () => {
26-
fixture.detectChanges();
2726
const pivotGrid = fixture.componentInstance.pivotGrid;
27+
pivotGrid.width = '1500px';
28+
fixture.detectChanges();
29+
2830
const actualFormatterValue = pivotGrid.rowList.first.cells.first.title;
2931
expect(actualFormatterValue).toEqual('774$');
3032
const actualDataTypeValue = pivotGrid.rowList.first.cells.last.title;

0 commit comments

Comments
 (0)