Skip to content

Commit

Permalink
remove test case for recently supported locale
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Jul 7, 2023
1 parent bc99cd0 commit 2e09412
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ describe("TimeAgo", () => {
});

describe("basic", () => {
it.todo("add test case for mi-NZ once we drop support for node 16");

it.each`
date | locale | output
${"2023-06-08"} | ${"en"} | ${"0 seconds ago"}
${"2023-06-07"} | ${"en"} | ${"0 seconds ago"}
${"2023-06-06"} | ${"en"} | ${"11 hours ago"}
${"2019-06-06"} | ${"en"} | ${"4 years ago"}
${"2019-06-06"} | ${"mi-NZ"} | ${"-4 y"}
${"2019-06-06"} | ${"de-LU"} | ${"vor 4 Jahren"}
${"2023-06-06T11:00:00Z"} | ${"de"} | ${"vor 0 Sekunden"}
${"2023-06-06T10:59:59Z"} | ${"de"} | ${"vor 1 Sekunde"}
Expand Down

0 comments on commit 2e09412

Please sign in to comment.