Note
Automated testing (Unit/Integration) is currently pending implementation.
We use ESLint to maintain code quality and catch errors early.
To check for linting errors:
npm run lintWe recommend adopting the following stack for future testing implementation:
- Vitest: Fast unit test runner, compatible with Vite.
- React Testing Library: For testing components in a way that resembles user usage.
- Cypress or Playwright: For End-to-End (E2E) testing.
- Install:
npm i -D vitest @testing-library/react jsdom - Configure
vite.config.ts: addtestenvironment. - Run:
npx vitest
Until automated tests are fully in place, please manually verify:
- Authentication Flow: Login, Register, Logout.
- Responsiveness: Check UI on Mobile vs Desktop.
- Forms: Validation errors appear correctly on invalid input.
- Theme: Dark/Light mode toggle (if applicable).