File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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' ) ;
You can’t perform that action at this time.
0 commit comments