From 3a362f4bf79df9ede6ded6e8b52d1660140a53c3 Mon Sep 17 00:00:00 2001 From: J1min Date: Wed, 29 Nov 2023 09:33:27 +0900 Subject: [PATCH] =?UTF-8?q?fix(test):=20=ED=95=98=EB=93=9C=EC=BD=94?= =?UTF-8?q?=EB=94=A9=EC=9C=BC=EB=A1=9C=20=EC=A7=84=ED=96=89=ED=95=9C=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/date.spec.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/utils/date.spec.ts b/utils/date.spec.ts index 006f8cdc..f0dcadd4 100644 --- a/utils/date.spec.ts +++ b/utils/date.spec.ts @@ -8,14 +8,6 @@ test("koreanDate test - after 2000", () => { expect(getKoreanDate(new Date("December 17, 2005"))).toBe("2005년 12월 17일"); }); -test("timeAgo test - before 2000", () => { - expect(getTimeAgo(new Date("December 17, 1995"))).toBe("27년 전"); -}); - -test("timeAgo test - after 2000", () => { - expect(getTimeAgo(new Date("December 17, 2005"))).toBe("17년 전"); -}); - test("timeAgo test - now", () => { expect(getTimeAgo(new Date())).toBe("방금"); });