jenkins: 添加报错打印
This commit is contained in:
@@ -622,6 +622,7 @@ function checkActorData(actordata) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function battleEnd(pinusClient, heroes, battleId, battleCode, type, cb) {
|
function battleEnd(pinusClient, heroes, battleId, battleCode, type, cb) {
|
||||||
|
console.log('#### battleEnd', battleId)
|
||||||
pinusClient.request('battle.normalBattleHandler.battleEnd', { battleId, battleCode, heroes, isSuccess: true, stars: [1,1,1] }, (res) => {
|
pinusClient.request('battle.normalBattleHandler.battleEnd', { battleId, battleCode, heroes, isSuccess: true, stars: [1,1,1] }, (res) => {
|
||||||
checkSuccessResponse(res);
|
checkSuccessResponse(res);
|
||||||
expect(res.data.battleId).to.be.a('number');
|
expect(res.data.battleId).to.be.a('number');
|
||||||
|
|||||||
Reference in New Issue
Block a user