style: 完善代码规范和测试覆盖
- 新增多个模块的单元测试文件,提升测试覆盖率 - 完善AI-Reading文档系统,包含7步代码检查流程 - 新增集成测试和属性测试框架 - 优化项目结构和配置文件 - 清理过时的规范文档,统一使用新的检查标准
This commit is contained in:
17
package.json
17
package.json
@@ -15,20 +15,7 @@
|
||||
"test:unit": "jest --testPathPattern=spec.ts --testPathIgnorePatterns=e2e.spec.ts",
|
||||
"test:integration": "jest --testPathPattern=integration.spec.ts --runInBand",
|
||||
"test:property": "jest --testPathPattern=property.spec.ts",
|
||||
"test:all": "cross-env RUN_E2E_TESTS=true jest --runInBand",
|
||||
"test:isolated": "jest --runInBand --forceExit --detectOpenHandles",
|
||||
"test:debug": "jest --runInBand --detectOpenHandles --verbose",
|
||||
"test:zulip": "jest --testPathPattern=zulip.*spec.ts --runInBand",
|
||||
"test:zulip:unit": "jest --testPathPattern=zulip.*spec.ts --testPathIgnorePatterns=integration --testPathIgnorePatterns=e2e --testPathIgnorePatterns=performance --runInBand",
|
||||
"test:zulip:integration": "jest test/zulip_integration/integration/ --runInBand",
|
||||
"test:zulip:e2e": "jest test/zulip_integration/e2e/ --runInBand",
|
||||
"test:zulip:performance": "jest test/zulip_integration/performance/ --runInBand",
|
||||
"test:zulip-integration": "node scripts/test-zulip-integration.js",
|
||||
"test:zulip-real": "jest test/zulip_integration/real_zulip_api.spec.ts --runInBand",
|
||||
"test:zulip-message": "jest src/core/zulip_core/services/zulip_message_integration.spec.ts",
|
||||
"zulip:connection-test": "npx ts-node test/zulip_integration/tools/simple_connection_test.ts",
|
||||
"zulip:list-streams": "npx ts-node test/zulip_integration/tools/list_streams.ts",
|
||||
"zulip:chat-simulation": "npx ts-node test/zulip_integration/tools/chat_simulation.ts"
|
||||
"test:all": "cross-env RUN_E2E_TESTS=true jest --runInBand"
|
||||
},
|
||||
"keywords": [
|
||||
"game",
|
||||
@@ -40,6 +27,7 @@
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@nestjs/cache-manager": "^3.1.0",
|
||||
"@nestjs/common": "^11.1.9",
|
||||
"@nestjs/config": "^4.0.2",
|
||||
"@nestjs/core": "^11.1.9",
|
||||
@@ -56,6 +44,7 @@
|
||||
"archiver": "^7.0.1",
|
||||
"axios": "^1.13.2",
|
||||
"bcrypt": "^6.0.0",
|
||||
"cache-manager": "^7.2.8",
|
||||
"class-transformer": "^0.5.1",
|
||||
"class-validator": "^0.14.3",
|
||||
"ioredis": "^5.8.2",
|
||||
|
||||
Reference in New Issue
Block a user