修复测试不通过的问题

This commit is contained in:
binaryify
2022-05-30 09:46:38 +08:00
parent b3ca43267a
commit 47bd9175ee
8 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
"test": "mocha -r intelli-espower-loader -t 20000 server.test.js main.test.js --exit",
"test": "node beforeTest.js && mocha -r intelli-espower-loader -t 30000 server.test.js main.test.js --exit",
"lint": "eslint \"**/*.{js,ts}\"",
"lint-fix": "eslint --fix \"**/*.{js,ts}\"",
"prepare": "husky install",