修改测试 token,减少测试打印

This commit is contained in:
liangtongchuan
2021-02-04 17:13:24 +08:00
parent a4f2ed7380
commit 6b00dc79c4
3 changed files with 9 additions and 5 deletions

View File

@@ -41,11 +41,13 @@ describe('军团测试', function() {
port: port
}, (data) => {
// 连接成功执行函数
console.log('gate连接成功', data);
console.log('gate连接成功');
// console.log('gate连接成功', data);
// done();
pinusClient.request('connector.entryHandler.enter', {token:'jxrka4ocnzgcgc4pt2jhsikdgktzw9myon55hp34fxjql85yxr', serverId: 1} , (ret) => {
pinusClient.request('connector.entryHandler.enter', {token:'3dc788mrgqshmu8dawocuiftf4lpkjo8sah6p023rin7396n6o', serverId: 1} , (ret) => {
// 消息回调
console.log('connector返回', JSON.stringify(ret));
console.log('connector返回');
// console.log('connector返回', JSON.stringify(ret));
roleInfo = ret.role;
done();
});