Skip to content

Commit f98511a

Browse files
committed
chore(*): fix pivot grid tests
1 parent 3165e87 commit f98511a

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
@@ -22,14 +22,16 @@ describe('Basic IgxPivotGrid #pivotGrid', () => {
2222
}));
2323

2424
it('should apply formatter and dataType from measures', () => {
25+
fixture.detectChanges()
2526
const pivotGrid = fixture.componentInstance.pivotGrid;
2627
const actualFormatterValue = pivotGrid.rowList.first.cells.first.title;
2728
expect(actualFormatterValue).toEqual('774$');
2829
const actualDataTypeValue = pivotGrid.rowList.first.cells.last.title;
29-
expect(actualDataTypeValue).toEqual('$28.86');
30+
expect(actualDataTypeValue).toEqual('$71.89');
3031
});
3132

3233
it('should apply css class to cells from measures', () => {
34+
fixture.detectChanges()
3335
const pivotGrid = fixture.componentInstance.pivotGrid;
3436
const cells = pivotGrid.rowList.first.cells;
3537
expect(cells.first.nativeElement.classList).toContain('test');

0 commit comments

Comments
 (0)