From a8c533c6481a73ae66d8787b95d26b1bdc0930ab Mon Sep 17 00:00:00 2001 From: developomp Date: Sun, 30 Jul 2023 18:40:57 +0900 Subject: [PATCH] test: rename tests --- apps/main/src/utils/getAge.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/main/src/utils/getAge.test.ts b/apps/main/src/utils/getAge.test.ts index 0b0179a..f1b8122 100644 --- a/apps/main/src/utils/getAge.test.ts +++ b/apps/main/src/utils/getAge.test.ts @@ -4,7 +4,7 @@ const { birth, dateFormatOption, getAge, ageInt, ageDecimal, isOverBirthDay } = testing describe("getAge tests", () => { - test("birthday should be 2002-07-30", () => { + test("birthday to be 2002-07-30", () => { expect(birth).toEqual(new Date("2002-07-30, 00:00:00.000 +09:00")) }) @@ -42,7 +42,7 @@ describe("getAge tests", () => { ).toEqual(false) }) - test("dateFormatOption should work properly", () => { + test("dateFormatOption to work properly", () => { expect( new Date("2002-07-30, 00:00:00.000 +09:00").toLocaleString( "en-US",