Skip to content

Commit

Permalink
fix(chat): Add renderMessage into onMessageSend
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Oct 10, 2024
1 parent 65aaa84 commit c0bb8ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/testcafe-devextreme/tests/chat/messageList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ test('Messagelist appearance with scrollbar', async (t) => {
user: userSecond,
width: 400,
height: 600,
onMessageSend: (e) => {
const { component, message } = e;

component.renderMessage(message);
},
});
});

Expand Down

0 comments on commit c0bb8ef

Please sign in to comment.