提交 f6319c8b 编写于 作者: YXL76's avatar YXL76

fix login test error

上级 57e5e0f5
......@@ -21,8 +21,9 @@ describe('测试登录是否正常', () => {
console.log('昵称:' + data.profile.nickname)
assert(data.code === 200)
done()
} else {
done('登录错误')
}
done('登录错误')
})
.catch((err) => {
done(err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册