mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
* issues #1019 的迫真修复 * 修复 issues #1019 * 修复 issues #1019 * 改回 pickedLyric() 逻辑 * 更进一步的避免取词卡死问题 * 更新网易云 api 到 4.2.0 * Update README.md * Revert "Update README.md" This reverts commit b862ef7d4dabd40c8fe57e4837fc6220806a1456.
This commit is contained in:
parent
37f31d0516
commit
e66a264d9b
28 changed files with 286 additions and 317 deletions
|
|
@ -3,11 +3,14 @@ const axios = require('axios')
|
|||
const host = global.host || 'http://localhost:3000'
|
||||
|
||||
console.log('注意: 测试登录需在 test/login.test.js 中填写账号密码!!!')
|
||||
const phone = ''
|
||||
const password = ''
|
||||
const country_code = '1'
|
||||
const phone = '3156678705'
|
||||
const password = '1q2w3e4R'
|
||||
describe('测试登录是否正常', () => {
|
||||
it('手机登录 code 应该等于200', (done) => {
|
||||
const qs = {
|
||||
countrycode:
|
||||
process.env.NCM_API_TEST_LOGIN_COUNTRY_CODE || country_code || '',
|
||||
phone: process.env.NCM_API_TEST_LOGIN_PHONE || phone || '',
|
||||
password: process.env.NCM_API_TEST_LOGIN_PASSWORD || password || '',
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue