测试:调试聊天测试bug

This commit is contained in:
liangtongchuan
2021-03-07 14:59:53 +08:00
parent 0b1b831d7d
commit 019e683832
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -30,11 +30,13 @@ function testGroupMsg(pinusClient: PinusWSClient, roleInfo: any, pinusClientT: P
const roomId = `${channel}_${channelId}`;
pinusClientT.on(ON_GROUP_MSG_ROUTE, (res) => {
checkSuccessResponse(res);
console.log('got res:', roomId, res);
checkGroupMsg(res.data, roleInfo.roleId, roomId, TEXT_MSG.content);
msgReceiveCnt += 1;
});
pinusClient.on(ON_GROUP_MSG_ROUTE, (res) => {
checkSuccessResponse(res);
console.log('got res:', roomId, res);
checkGroupMsg(res.data, roleInfo.roleId, roomId, TEXT_MSG.content);
msgReceiveCnt += 1;
});