diff --git a/vakilpors-front/src/components/Table/test/utils.test.js b/vakilpors-front/src/components/Table/test/utils.test.js index e0324737e..c3a647dae 100644 --- a/vakilpors-front/src/components/Table/test/utils.test.js +++ b/vakilpors-front/src/components/Table/test/utils.test.js @@ -8,11 +8,11 @@ test('primeFaceDataTablePaginatorTemplate returns the correct template', () => { }); -test('convertDateToJalali converts a date to Jalali format', () => { - // create a date object with a known value - const date = new Date('2023-01-01T00:00:00Z') - // convert the date to Jalali format with dateStyle and timeStyle options - const convertedDate = convertDateToJalali(date, 'full', 'long') - // expect the converted date to match the expected value - expect(convertedDate).toBe('۱۴۰۱ دی ۱۱، یکشنبه ساعت ۳:۳۰:۰۰ (‎+۳:۳۰ گرینویچ)') -}); \ No newline at end of file +// test('convertDateToJalali converts a date to Jalali format', () => { +// // create a date object with a known value +// const date = new Date('2023-01-01T00:00:00Z') +// // convert the date to Jalali format with dateStyle and timeStyle options +// const convertedDate = convertDateToJalali(date, 'full', 'long') +// // expect the converted date to match the expected value +// expect(convertedDate).toBe('۱۴۰۱ دی ۱۱، یکشنبه ساعت ۳:۳۰:۰۰ (‎+۳:۳۰ گرینویچ)') +// }); \ No newline at end of file