Skip to content

Commit

Permalink
fix(test): 하드코딩으로 진행한 테스트 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
J1min committed Nov 29, 2023
1 parent 2c9803e commit 3a362f4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions utils/date.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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("방금");
});
Expand Down

0 comments on commit 3a362f4

Please sign in to comment.