Skip to content

Commit 20c2ab4

Browse files
author
Raushen
committed
Remove unsupported tests
1 parent f1521ee commit 20c2ab4

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

  • packages/devextreme/js/__internal/grids/grid_core/header_filter/__tests__

packages/devextreme/js/__internal/grids/grid_core/header_filter/__tests__/utils.test.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -131,26 +131,4 @@ describe('getFormatOptions', () => {
131131
expect(getFormatOptions('Arkansas', column, 1).groupInterval).toBe('State');
132132
expect(getFormatOptions('Bentonville', column, 2).groupInterval).toBe('City');
133133
});
134-
135-
it('selects the date interval and its format per level for a date column', () => {
136-
const column = { dataType: 'date', headerFilter: { groupInterval: 'month' } };
137-
138-
const yearLevel = getFormatOptions(2024, column, 0);
139-
expect(yearLevel.groupInterval).toBe('year');
140-
expect(yearLevel.format(2024)).toBe('2024');
141-
142-
const monthLevel = getFormatOptions(3, column, 1);
143-
expect(monthLevel.groupInterval).toBe('month');
144-
expect(monthLevel.format(3)).toBe('March');
145-
});
146-
147-
it('selects the date interval and its format per level for a datetime column', () => {
148-
const column = { dataType: 'datetime', headerFilter: { groupInterval: 'hour' } };
149-
150-
expect(getFormatOptions(2024, column, 0).groupInterval).toBe('year');
151-
152-
const hourLevel = getFormatOptions(14, column, 3);
153-
expect(hourLevel.groupInterval).toBe('hour');
154-
expect(hourLevel.format(14)).toBe('14');
155-
});
156134
});

0 commit comments

Comments
 (0)