@@ -816,7 +816,7 @@ describe('Pivot pipes #pivotGrid', () => {
816816 const rowPipeResult = rowPipe . transform ( data , pivotConfig , expansionStates ) ;
817817 const columnPipeResult = columnPipe . transform ( rowPipeResult , pivotConfig , new Map < any , boolean > ( ) ) ;
818818 const rowStatePipeResult = rowStatePipe . transform ( columnPipeResult , pivotConfig , expansionStates , true ) ;
819- expect ( rowStatePipeResult . length ) . toEqual ( 31 ) ;
819+ expect ( rowStatePipeResult . length ) . toEqual ( 37 ) ;
820820 expect ( rowStatePipeResult [ 0 ] [ 'AllPeriods' ] ) . toEqual ( 'All Periods' ) ;
821821 expect ( rowStatePipeResult [ 0 ] [ 'AllProducts' ] ) . toEqual ( 'All' ) ;
822822 expect ( rowStatePipeResult [ 0 ] [ 'ProductCategory' ] ) . not . toBeDefined ( ) ;
@@ -828,15 +828,12 @@ describe('Pivot pipes #pivotGrid', () => {
828828 expect ( rowStatePipeResult [ 1 ] [ 'City' ] ) . toEqual ( 'Sofia' ) ;
829829
830830 expect ( rowStatePipeResult [ 11 ] [ 'AllPeriods' ] ) . not . toBeDefined ( ) ;
831- expect ( rowStatePipeResult [ 11 ] [ 'AllProducts' ] ) . not . toBeDefined ( ) ;
832831 expect ( rowStatePipeResult [ 11 ] [ 'City' ] ) . toEqual ( 'Sofia' ) ;
833832 expect ( rowStatePipeResult [ 11 ] [ 'Years' ] ) . toEqual ( '2021' ) ;
834833
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' ) ;
840837 } ) ;
841838
842839 // automation for https://github.com/IgniteUI/igniteui-angular/issues/10545
0 commit comments