mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-22 15:41:23 +08:00
完善单元测试
This commit is contained in:
@@ -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('登录错误')
|
||||
|
||||
Reference in New Issue
Block a user