修复test.ts的引用

This commit is contained in:
luying
2022-04-09 11:04:28 +08:00
parent 12d47ec881
commit a23759335e
3 changed files with 27 additions and 27 deletions

View File

@@ -168,10 +168,10 @@ describe('寻宝创建队伍', function() {
expect(JSON.parse(res.data.content).teamCode).to.be.equal(teamCode);
msgReceiveCnt += 1;
}
pinusClientT.on(PUSH_ROUTE.PRIVATE_MSG, (res) => {
pinusClientT.on(PUSH_ROUTE.GROUP_MSG, (res) => {
checkInviteRes(res);
});
pinusClient.on(PUSH_ROUTE.PRIVATE_MSG, (res) => {
pinusClient.on(PUSH_ROUTE.GROUP_MSG, (res) => {
checkInviteRes(res);
});
pinusClient.request('battle.comBattleHandler.createTeam', createTeamParms, (res) => {
@@ -246,12 +246,12 @@ describe('寻宝创建队伍', function() {
expect(msg.content).to.be.equal(MSG_CONTENT);
}
pinusClientT.on(PUSH_ROUTE.PRIVATE_MSG, (res) => {
pinusClientT.on(PUSH_ROUTE.GROUP_MSG, (res) => {
checkSuccessResponse(res);
checkMsg(res.data);
msgReceiveCnt += 1;
});
pinusClient.on(PUSH_ROUTE.PRIVATE_MSG, (res) => {
pinusClient.on(PUSH_ROUTE.GROUP_MSG, (res) => {
checkSuccessResponse(res);
checkMsg(res.data);
msgReceiveCnt += 1;