整理测试代码并清理文档引用

This commit is contained in:
Cheng Zhou
2026-06-22 17:27:11 +08:00
parent 6056c8364a
commit c351ca59c4
75 changed files with 15 additions and 4415 deletions
@@ -37,7 +37,6 @@ Run: `npm run test:unit -- src/views/Login.test.ts`
**Files:**
- Modify: `frontend/src/views/Register.vue`
- Test: `frontend/src/views/Register.test.ts`
**Step 1: Write failing test**
@@ -45,7 +44,7 @@ Run: `npm run test:unit -- src/views/Login.test.ts`
**Step 2: Run test to verify it fails**
Run: `npm run test:unit -- src/views/Register.test.ts`
Run: `npm run test:unit`
**Step 3: Write minimal implementation**
@@ -53,12 +52,12 @@ Run: `npm run test:unit -- src/views/Register.test.ts`
**Step 4: Run test to verify it passes**
Run: `npm run test:unit -- src/views/Register.test.ts`
Run: `npm run test:unit`
### Task 3: Final verification
Run:
- `npm run test:unit -- src/views/Login.test.ts src/views/Register.test.ts`
- `npm run test:unit -- src/views/Login.test.ts`
- `npm run type-check`
不执行 git commit,遵循用户指令。