测试:添加战斗测试

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

View File

@@ -7,7 +7,7 @@ describe('军团测试', function() {
let pinusClient: PinusWSClient;
let guildList;
beforeEach(function(done) {
before(function(done) {
const c = new Client();
const timer = setInterval(() => {
if (c.client) {
@@ -18,7 +18,7 @@ describe('军团测试', function() {
}, 500);
});
afterEach(function(done) {
after(function(done) {
pinusClient.disconnect();
done();
});