From 05cda7cec483c6996c0f2619af3fa20a211bf47d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 31 Jul 2023 01:16:57 +0200 Subject: [PATCH] test: fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- test/utils/Utils.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/utils/Utils.test.ts b/test/utils/Utils.test.ts index 8804e577..05bf2bbb 100644 --- a/test/utils/Utils.test.ts +++ b/test/utils/Utils.test.ts @@ -88,8 +88,6 @@ describe('Utils test suite', () => { expect(() => convertToDate('00:70:61')).toThrowError( new Error("Cannot convert to date: '00:70:61'"), ); - expect(convertToDate('0')).toStrictEqual(new Date('1999-12-31T23:00:00.000Z')); - expect(convertToDate('-1')).toStrictEqual(new Date('2000-12-31T23:00:00.000Z')); expect(convertToDate(0)).toStrictEqual(new Date('1970-01-01T00:00:00.000Z')); expect(convertToDate(-1)).toStrictEqual(new Date('1969-12-31T23:59:59.999Z')); const dateStr = '2020-01-01T00:00:00.000Z'; -- 2.34.1