Skip to content

Commit

Permalink
Update DateTime.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva committed Jul 16, 2023
1 parent aba3519 commit a123d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/umi/test/DateTime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ test('it can create date times from strings', (t) => {
});

test('it can format date times as strings', (t) => {
t.is(formatDateTime(1689465600n), 'Jul 16, 2023, 1:00 AM');
t.true(formatDateTime(1689465600n).includes('Jul 16, 2023'));
});

0 comments on commit a123d42

Please sign in to comment.