Skip to content

Commit

Permalink
Update src/components/Channel/__tests__/Channel.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: MartinCupela <[email protected]>
  • Loading branch information
arnautov-anton and MartinCupela authored Dec 12, 2023
1 parent 06fa67a commit e771254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Channel/__tests__/Channel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ describe('Channel', () => {
await waitFor(() => expect(markReadSpy).toHaveBeenCalledWith());
});

it('should mark the channel as read if a new message current user comes in and the user is looking at the page', async () => {
it('should mark the channel as read if the new message author is the current user and the user is looking at the page', async () => {
const { channel, chatClient } = await initClient();
const markReadSpy = jest.spyOn(channel, 'markRead');

Expand Down

0 comments on commit e771254

Please sign in to comment.