新增e2e测试脚本,修复部分问题

This commit was merged in pull request #51.
This commit is contained in:
2026-07-22 20:00:13 +08:00
parent 53d1ce6fb2
commit 4c07ec5455
105 changed files with 21700 additions and 318 deletions
+7 -1
View File
@@ -4,7 +4,9 @@
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"test:e2e": "jest --config jest.e2e.config.js",
"test:e2e:member": "jest --config jest.e2e.config.js --testPathPattern=member"
},
"keywords": [],
"author": "",
@@ -14,5 +16,9 @@
"@dcloudio/uni-ui": "^1.5.12",
"crypto-js": "^4.2.0",
"luch-request": "^3.1.1"
},
"devDependencies": {
"jest": "^29.0.0",
"miniprogram-automator": "^0.12.1"
}
}