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);