Testing
Lumio uses Jest for the backend and Vitest for the frontend. CI also runs e2e tests against a Postgres service container.
Backend tests (Jest)
cd backend
npm run test
npm run test:e2e
npm run test:cov
Tests live under:
backend/@tests/unitbackend/@tests/e2e
Frontend tests (Vitest)
cd frontend
npm run test
Storybook
cd frontend
npm run storybook
Coverage goals
- Backend: 80%+
- Frontend: 70%+
Next: Coding Standards