测试:修改一些令测试失败的问题
This commit is contained in:
@@ -3,12 +3,9 @@ import 'mocha';
|
||||
import { PinusWSClient } from 'pinus-robot-plugin';
|
||||
import { expect } from 'chai';
|
||||
import { checkSuccessResponse, checkDisplayItems } from './CheckPatten';
|
||||
import { DEBUG_MAGIC_WORD, AUCTION_SOURCE, CURRENCY_BY_TYPE, CURRENCY_TYPE, AUCTION_STAGE, DIVIDEND_STATUS } from '../app/consts';
|
||||
import { LOT_STATUS, TASK_FUN_TYPE } from '../../shared/consts';
|
||||
import { take } from 'underscore';
|
||||
import { DEBUG_MAGIC_WORD } from '../app/consts';
|
||||
import { TASK_FUN_TYPE } from '../../shared/consts';
|
||||
|
||||
const GOOD_ID_TIEJIAN = 1;
|
||||
const GOOD_ID_GANGJIAN = 2;
|
||||
|
||||
describe('任务测试', function () {
|
||||
let pinusClient: PinusWSClient;
|
||||
@@ -16,9 +13,8 @@ describe('任务测试', function () {
|
||||
|
||||
beforeEach(function (done) {
|
||||
const c = new Client();
|
||||
const cT = new Client('13121622738');
|
||||
const timer = setInterval(() => {
|
||||
if (c.client && cT.client) {
|
||||
if (c.client) {
|
||||
pinusClient = c.client;
|
||||
roleInfo = c.roleInfo;
|
||||
clearInterval(timer);
|
||||
|
||||
Reference in New Issue
Block a user