mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
tests: Save the CHAT_MESSAGE payload, not the wrapper
This commit is contained in:
parent
c8e0916e1a
commit
66a8c48fac
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ helper.spyOnSocketIO = () => {
|
|||
} else if (msg.data.type === 'USER_NEWINFO') {
|
||||
helper.userInfos.push(msg);
|
||||
} else if (msg.data.type === 'CHAT_MESSAGE') {
|
||||
helper.chatMessages.push(msg);
|
||||
helper.chatMessages.push(msg.data);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue