Skip to content

Commit

Permalink
fix: fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Dec 23, 2024
1 parent 19ff46b commit 9161179
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ describe('PublishButtonComponent', () => {
it('should format date correctly based on current language', () => {
const date = new Date('2024-01-01T10:00:00Z')
const formattedDate = component.formatDate(date)
expect(formattedDate).toBe('January 1, 2024 at 11:00 AM')
expect(formattedDate).toBe('January 1, 2024 at 10:00 AM')
})

it('should handle invalid date gracefully', () => {
Expand Down

0 comments on commit 9161179

Please sign in to comment.