Skip to content

Commit 29dc25d

Browse files
committed
chore(*): fixing pivot grid aggregator test
1 parent c371008 commit 29dc25d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,10 @@ describe('Pivot pipes #pivotGrid', () => {
320320
expect(IgxPivotTimeAggregate.earliestTime(['01/01/2021 8:00', '01/01/2021 1:00', '01/01/2021 22:00'])).toEqual(new Date('01/01/2021 1:00'));
321321

322322
// check string can be changed
323-
IgxPivotTimeAggregate.aggregators().find(x => x.key === "EARLIEST").label = 'Earliest Custom Time';
323+
// This test no longer covers functionality that is provided. Overriding labels is done by extending the class.
324+
// IgxPivotTimeAggregate.aggregators().find(x => x.key === 'EARLIEST').label = 'Earliest Custom Time';
324325

325-
expect(IgxPivotTimeAggregate.aggregators().find(x => x.key === 'EARLIEST').label).toEqual('Earliest Custom Time');
326+
// expect(IgxPivotTimeAggregate.aggregators().find(x => x.key === 'EARLIEST').label).toEqual('Earliest Custom Time');
326327
});
327328

328329
it('allow setting NoopPivotDimensionsStrategy for rows/columns', () => {

0 commit comments

Comments
 (0)