chore: 清理旧测试基础设施并添加新测试框架

- 清理废弃的 CI/CD 工作流文件与 dogfood 输出
- 添加 vitest 测试环境配置(mocks、setup 文件)
- 添加算法、服务、页面、工具类的单元测试
- 更新 vitest 配置、依赖与文档
This commit is contained in:
2026-08-12 18:53:15 +08:00
parent 039fbe4f4c
commit 0f8b29874f
37 changed files with 3511 additions and 617 deletions
+3 -4
View File
@@ -186,6 +186,9 @@ temp-vite/
temp/
tmp/
# ==================== Test Output ====================
dogfood-output/
# ==================== Misc ====================
*.backup
*.tmp
@@ -193,10 +196,6 @@ tmp/
*.crx
*.xpi
*.zip
__fixtures__/
fixtures/
__mocks__/
__tests__/
local-config.js
config/local.js