mirror of
https://github.com/DumbWareio/DumbDrop.git
synced 2025-10-23 07:41:58 +00:00
Update .cursorrules
This commit is contained in:
committed by
GitHub
parent
1b40cf2e8e
commit
7e0f3f85d7
15
.cursorrules
15
.cursorrules
@@ -74,21 +74,6 @@
|
|||||||
- /uploads (production)
|
- /uploads (production)
|
||||||
- /local_uploads (local development)
|
- /local_uploads (local development)
|
||||||
|
|
||||||
# Testing
|
|
||||||
- Tests are mandatory for all new features
|
|
||||||
- Test files location:
|
|
||||||
- Unit tests: __tests__/unit/
|
|
||||||
- Integration tests: __tests__/integration/
|
|
||||||
- E2E tests: __tests__/e2e/
|
|
||||||
- Test naming convention:
|
|
||||||
- Unit tests: [feature].test.js
|
|
||||||
- Integration tests: [feature].integration.test.js
|
|
||||||
- E2E tests: [feature].e2e.test.js
|
|
||||||
- Test coverage requirements:
|
|
||||||
- Minimum 80% coverage for new features
|
|
||||||
- Must include happy path and error cases
|
|
||||||
- API endpoints must have integration tests
|
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
- Main README.md in root focuses on production deployment
|
- Main README.md in root focuses on production deployment
|
||||||
- Development documentation in /dev/README.md
|
- Development documentation in /dev/README.md
|
||||||
|
Reference in New Issue
Block a user