import { Client } from './Client';
import 'mocha';
import { PinusWSClient } from 'pinus-robot-plugin';
import { expect } from 'chai';
import { addItemsIfNotEnough, checkDisplayItems, checkSuccessResponse, checkTimeStamp, checkWarJson } from './CheckPatten';
import { PVP } from '../app/pubUtils/dicParam';
import { DEBUG_MAGIC_WORD } from '../app/consts';
import { getRandSingleEelm } from '../app/pubUtils/util';

/*
describe('全局养成测试', function () {
  let pinusClient: PinusWSClient;
  let roleInfo;

  before(function (done) {
    const c = new Client();
    const timer = setInterval(() => {
      if (c.client) {
        pinusClient = c.client;
        roleInfo = c.roleInfo;
        clearInterval(timer);
        done();
      }
    }, 500);
  });

  after(function (done) {
    pinusClient.disconnect();
    // disconnect 后等待 500ms，供服务器清理环境、退出频道等
    setTimeout(() => {
      done();
    }, 500);
  });

  it('爵位升级', function (done) {
      done();
  });

  it('获得百家学宫', function (done) {
    done();
  });

  it('百家学宫摆放/替换/卸下武将', function (done) {
    done();
  });

  it('百家学宫解锁位置', function (done) {
    done();
  });

  it('获得名将谱激活状态', function (done) {
    done();
  });

  it('激活/升级名将谱', function (done) {
    done();
  });

  it('神像强化', function (done) {
    done();
  });

  it('神像进阶', function (done) {
    done();
  });

  it('神像强化', function (done) {
    done();
  });

  it('保存展示阵容', function (done) {
    done();
  });

  it('更换头像', function (done) {
    done();
  });

  it('更换相框', function (done) {
    done();
  });

  it('更换形象', function (done) {
    done();
  });

  it('重命名', function (done) {
    done();
  });
});
*/