@@ -816,7 +816,7 @@ describe('Pivot pipes #pivotGrid', () => {
816
816
const rowPipeResult = rowPipe . transform ( data , pivotConfig , expansionStates ) ;
817
817
const columnPipeResult = columnPipe . transform ( rowPipeResult , pivotConfig , new Map < any , boolean > ( ) ) ;
818
818
const rowStatePipeResult = rowStatePipe . transform ( columnPipeResult , pivotConfig , expansionStates , true ) ;
819
- expect ( rowStatePipeResult . length ) . toEqual ( 31 ) ;
819
+ expect ( rowStatePipeResult . length ) . toEqual ( 37 ) ;
820
820
expect ( rowStatePipeResult [ 0 ] [ 'AllPeriods' ] ) . toEqual ( 'All Periods' ) ;
821
821
expect ( rowStatePipeResult [ 0 ] [ 'AllProducts' ] ) . toEqual ( 'All' ) ;
822
822
expect ( rowStatePipeResult [ 0 ] [ 'ProductCategory' ] ) . not . toBeDefined ( ) ;
@@ -828,15 +828,12 @@ describe('Pivot pipes #pivotGrid', () => {
828
828
expect ( rowStatePipeResult [ 1 ] [ 'City' ] ) . toEqual ( 'Sofia' ) ;
829
829
830
830
expect ( rowStatePipeResult [ 11 ] [ 'AllPeriods' ] ) . not . toBeDefined ( ) ;
831
- expect ( rowStatePipeResult [ 11 ] [ 'AllProducts' ] ) . not . toBeDefined ( ) ;
832
831
expect ( rowStatePipeResult [ 11 ] [ 'City' ] ) . toEqual ( 'Sofia' ) ;
833
832
expect ( rowStatePipeResult [ 11 ] [ 'Years' ] ) . toEqual ( '2021' ) ;
834
833
835
- expect ( rowStatePipeResult [ 13 ] [ 'AllPeriods' ] ) . not . toBeDefined ( ) ;
836
- expect ( rowStatePipeResult [ 13 ] [ 'AllProducts' ] ) . toEqual ( 'All' ) ;
837
- expect ( rowStatePipeResult [ 13 ] [ 'City' ] ) . toEqual ( 'Sofia' ) ;
838
- expect ( rowStatePipeResult [ 13 ] [ 'Years' ] ) . not . toBeDefined ( ) ;
839
- expect ( rowStatePipeResult [ 13 ] [ 'Date' ] ) . toEqual ( '01/01/2021' ) ;
834
+ expect ( rowStatePipeResult [ 12 ] [ 'AllPeriods' ] ) . not . toBeDefined ( ) ;
835
+ expect ( rowStatePipeResult [ 12 ] [ 'City' ] ) . toEqual ( 'Sofia' ) ;
836
+ expect ( rowStatePipeResult [ 12 ] [ 'Date' ] ) . toEqual ( '01/01/2021' ) ;
840
837
} ) ;
841
838
842
839
// automation for https://github.com/IgniteUI/igniteui-angular/issues/10545
0 commit comments