Added Documents Feature

This commit is contained in:
Eric Gullickson
2025-09-28 20:35:46 -05:00
parent 2e1b588270
commit 775a1ff69e
66 changed files with 5655 additions and 944 deletions

View File

@@ -28,7 +28,7 @@ make test
```
This executes:
- Backend: `docker compose exec backend npm test`
- Backend: `docker compose exec admin-backend npm test`
- Frontend: runs Jest in a disposable Node container mounting `./frontend`
### Feature-Specific Testing
@@ -134,7 +134,8 @@ make test-frontend
npm test -- features/vehicles --coverage
# View coverage report
open coverage/lcov-report/index.html
# Inside the container, open using your OS tooling,
# or copy the report out of the container as needed
```
### Container Management
@@ -153,7 +154,7 @@ make clean && make start
### Jest Configuration
- Backend: `backend/jest.config.js`
- Frontend: `frontend/jest.config.cjs`
- Frontend: `frontend/jest.config.ts`
- React + TypeScript via `ts-jest`
- jsdom environment
- Testing Library setup in `frontend/setupTests.ts`