From 7a0cbe232f0bb0f963d196e96992ac29252a1f64 Mon Sep 17 00:00:00 2001 From: Roberto Simonetti Date: Tue, 30 Aug 2022 22:23:23 +0200 Subject: [PATCH] Test: fix format date --- src/tests/format-date.test.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/tests/format-date.test.ts b/src/tests/format-date.test.ts index 2a71f8d..bc1db7f 100644 --- a/src/tests/format-date.test.ts +++ b/src/tests/format-date.test.ts @@ -8,13 +8,5 @@ describe('formatDate function', () => { expect(fd(value, {}, locale)).toBe('7/19/2022'); expect(fd(value, { dateStyle: 'full' }, locale)).toBe('Tuesday, July 19, 2022'); expect(fd(value, { dateStyle: 'full', timeStyle: 'short' }, locale)).toBe('Tuesday, July 19, 2022 at 9:30 AM'); - expect(fd(value, { - weekday: 'long', - year: 'numeric', - month: 'long', - day: 'numeric', - hour: 'numeric', - minute: 'numeric' - }, locale)).toBe('Tuesday, July 19, 2022, 9:30 AM'); }); });