fix login test error

This commit is contained in:
YXL 2020-10-01 23:26:53 +08:00
parent 57e5e0f5e5
commit f6319c8b6e

View File

@ -21,8 +21,9 @@ describe('测试登录是否正常', () => {
console.log('昵称:' + data.profile.nickname)
assert(data.code === 200)
done()
} else {
done('登录错误')
}
done('登录错误')
})
.catch((err) => {
done(err)