chore: 添加测试依赖配置和 gitignore
- 添加 frontend/package.json 包含 Vitest 测试依赖 - 添加 backend/.gitignore 排除 __pycache__, .coverage 等 - 添加 frontend/.gitignore 排除 node_modules, dist 等 测试运行验证: - 后端: 268 tests skipped (TDD 红灯阶段) - 前端: 95 tests skipped (TDD 红灯阶段) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
040aada160
commit
f4f24eb46d
13
backend/.gitignore
vendored
Normal file
13
backend/.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
.pytest_cache/
|
||||
.coverage
|
||||
htmlcov/
|
||||
.mypy_cache/
|
||||
*.egg-info/
|
||||
dist/
|
||||
build/
|
||||
.env
|
||||
.venv/
|
||||
venv/
|
||||
8
frontend/.gitignore
vendored
Normal file
8
frontend/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
node_modules/
|
||||
dist/
|
||||
.next/
|
||||
coverage/
|
||||
*.log
|
||||
.env
|
||||
.env.local
|
||||
.DS_Store
|
||||
2945
frontend/package-lock.json
generated
Normal file
2945
frontend/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
9
frontend/package.json
Normal file
9
frontend/package.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@vitejs/plugin-react": "^5.1.2",
|
||||
"jsdom": "^28.0.0",
|
||||
"vitest": "^4.0.18"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user