完善单元测试

This commit is contained in:
binaryify
2020-09-19 19:39:11 +08:00
parent a42decd00f
commit b935a55356
2 changed files with 4 additions and 4 deletions
+1
View File
@@ -18,6 +18,7 @@ describe('测试登录是否正常', () => {
if (!err && res.statusCode == 200) {
body = JSON.parse(body)
assert(body.code === 200)
console.log('昵称:' + body.profile.nickname)
done()
} else {
done('登录错误')