测试:添加战斗测试

This commit is contained in:
luying
2021-11-03 20:04:06 +08:00
parent 88e7ee906d
commit fb59fcd0ca
13 changed files with 364 additions and 22 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ describe('好友测试测试', function() {
let roleInfoT;
let applyCode;
beforeEach(function(done) {
before(function(done) {
const c = new Client();
const cT = new Client('13121622738');
const timer = setInterval(() => {
@@ -28,7 +28,7 @@ describe('好友测试测试', function() {
}, 1000);
});
afterEach(function(done) {
after(function(done) {
pinusClient.disconnect();
pinusClientT.disconnect();
// disconnect 后等待 500ms,供服务器清理环境、退出频道等