From ad64e569d41b8811b3ee9ea84a6ea4effb4da0e4 Mon Sep 17 00:00:00 2001 From: mahmoudadel54 Date: Tue, 16 Jan 2024 12:42:05 +0200 Subject: [PATCH] #9706: resolve FE test failure --- web/client/utils/__tests__/TimeUtils-test.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/client/utils/__tests__/TimeUtils-test.js b/web/client/utils/__tests__/TimeUtils-test.js index 050b0af666..157e7a84da 100644 --- a/web/client/utils/__tests__/TimeUtils-test.js +++ b/web/client/utils/__tests__/TimeUtils-test.js @@ -168,10 +168,6 @@ describe('TimeUtils', () => { }); }); it('test getLocalTimePart', () => { - // utc dates without 'Z' - expect(getLocalTimePart(new Date("2019-03-15T10:30:00Z"))).toBe("12:30:00"); - expect(getLocalTimePart(new Date("2018-01-09T05:03:00Z"))).toBe("07:03:00"); - // local dates expect(getLocalTimePart(new Date("2018-01-09T01:00:00"))).toBe("01:00:00"); expect(getLocalTimePart(new Date("2018-01-09T12:00:00"))).toBe("12:00:00"); });