Skip to content

Commit

Permalink
fix(chat-view-tests): resolve out of date test assertion (#2536)
Browse files Browse the repository at this point in the history
  • Loading branch information
domw30 authored Jan 2, 2025
1 parent fe45d37 commit 9bfdb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chat-view-container/chat-view.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ describe('ChatView', () => {
];

const wrapper = subject({ messages });
expect(wrapper.find('.message__header-date').text()).toEqual('Dec 11, 2025');
expect(wrapper.find('.message__header-date').text()).toEqual('Thu, Dec 11');
});

it('returns the formatted date for previous years', () => {
Expand Down

0 comments on commit 9bfdb0d

Please sign in to comment.