|
|
@@ -80,13 +80,13 @@ Draft
|
|
|
|
|
|
### 测试
|
|
|
- **测试框架**: Vitest + Testing Library [Source: architecture/coding-standards.md#L15]
|
|
|
-- **测试位置**: `packages/server/tests/integration/api/auth/phone-decrypt/` [Source: architecture/source-tree.md#L183]
|
|
|
+- **测试位置**: `web/tests/integration/server/api/auth/phone-decrypt/` [Source: architecture/source-tree.md#L147]
|
|
|
- **测试类型**: 集成测试验证API功能 [Source: architecture/non-generic-crud-standards.md#L417-L421]
|
|
|
|
|
|
## Testing
|
|
|
|
|
|
### 测试标准
|
|
|
-- **测试文件位置**: `packages/server/tests/integration/api/auth/phone-decrypt/`
|
|
|
+- **测试文件位置**: `web/tests/integration/server/api/auth/phone-decrypt/`
|
|
|
- **测试框架**: Vitest + hono/testing
|
|
|
- **测试模式**: 集成测试验证完整的API流程
|
|
|
- **Mock策略**: 使用 `vi.mocked()` mock微信SDK [Source: architecture/non-generic-crud-standards.md#L559-L572]
|