Skip to content

Commit 8d9e8a0

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Update test.
1 parent dd0729f commit 8d9e8a0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)