From b6aa4902552d21f261c8b6100c0eba59eca5afd4 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Sun, 7 Mar 2021 15:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E5=8A=A0=E9=95=BF?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=AD=89=E5=BE=85=E7=9A=84=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/test/chat.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/game-server/test/chat.test.ts b/game-server/test/chat.test.ts index 355a4363c..6c3696894 100644 --- a/game-server/test/chat.test.ts +++ b/game-server/test/chat.test.ts @@ -45,7 +45,7 @@ function testGroupMsg(pinusClient: PinusWSClient, roleInfo: any, pinusClientT: P setTimeout(() => { expect(msgReceiveCnt).to.be.equal(2); done(); - }, 1000); + }, 2000); }); } @@ -109,9 +109,9 @@ describe('聊天测试', function() { }, 1000); }); - // it('测试系统频道消息', function(done) { - // testGroupMsg(pinusClient, roleInfo, pinusClientT, CHANNEL_PREFIX.SYS, roleInfo.serverId, done); - // }); + it('测试系统频道消息', function(done) { + testGroupMsg(pinusClient, roleInfo, pinusClientT, CHANNEL_PREFIX.SYS, roleInfo.serverId, done); + }); it('测试世界频道消息', function(done) { testGroupMsg(pinusClient, roleInfo, pinusClientT, CHANNEL_PREFIX.WORLD, roleInfo.serverId, done);