Skip to content

Commit 99e4e2b

Browse files
chore: Remove arabic tests for data range picker (#3360)
1 parent 529f3cd commit 99e4e2b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/date-range-picker/calendar/__tests__/intl.test.ts

-12
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@ describe('intl', () => {
157157
expect(intl.renderMonthAndYear('ja-JP', date)).toBe('2023年6月');
158158
});
159159

160-
test('renders month and year in Arabic', () => {
161-
const date = new Date('2023-06-15');
162-
//todo confirm it shouldn't be 'يونيو ٢٠٢٣'
163-
expect(intl.renderMonthAndYear('ar-SA', date)).toBe('ذو القعدة ١٤٤٤ هـ');
164-
});
165-
166160
test('handles different months', () => {
167161
expect(intl.renderMonthAndYear('en-US', new Date('2023-01-01'))).toBe('January 2023');
168162
expect(intl.renderMonthAndYear('en-US', new Date('2023-12-31'))).toBe('December 2023');
@@ -209,12 +203,6 @@ describe('intl', () => {
209203
expect(intl.renderYear('ja-JP', date)).toBe('2023年');
210204
});
211205

212-
test('renders year in Arabic', () => {
213-
const date = new Date('2023-06-15');
214-
//todo confirm not '٢٠٢٣'
215-
expect(intl.renderYear('ar-SA', date)).toBe('١٤٤٤ هـ');
216-
});
217-
218206
test('handles different years', () => {
219207
expect(intl.renderYear('en-US', new Date('2020-01-01'))).toBe('2020');
220208
expect(intl.renderYear('en-US', new Date('2025-12-31'))).toBe('2025');

0 commit comments

Comments
 (0)