Description
The project currently has an excellent backend testing setup utilizing Jasmine for the models and auth routes. However, there doesn't appear to be a corresponding test suite for the React/Vite frontend. As the application relies heavily on data fetching (React Query) and UI rendering (Material UI + Tailwind), adding a frontend testing framework will ensure UI reliability and prevent regressions as new features are added.
Proposed Solution
- Install and configure Vitest (which is optimized for Vite) alongside React Testing Library.
- Setup a
vitest.config.ts (or .js) file to handle the React environment and DOM simulation (jsdom or happy-dom).
- Write foundational unit tests for a few core UI components (e.g., the search bar, the user statistics display, or the loading states for React Query).
- Update the
package.json with a test:client script and document the frontend testing commands in the README.md to match the backend documentation.
GSSoC '26 Request
Hi maintainers! 👋 I am actively participating in GirlScript Summer of Code 2026 and would love to work on setting up this frontend testing architecture.
Could you please:
- Assign this issue to me.
- Add the
gssoc26, enhancement, and testing labels to this thread?
Thank you! I am ready with the solution and would love to contribute towards this project.
Description
The project currently has an excellent backend testing setup utilizing Jasmine for the models and auth routes. However, there doesn't appear to be a corresponding test suite for the React/Vite frontend. As the application relies heavily on data fetching (React Query) and UI rendering (Material UI + Tailwind), adding a frontend testing framework will ensure UI reliability and prevent regressions as new features are added.
Proposed Solution
vitest.config.ts(or.js) file to handle the React environment and DOM simulation (jsdomorhappy-dom).package.jsonwith atest:clientscript and document the frontend testing commands in theREADME.mdto match the backend documentation.GSSoC '26 Request
Hi maintainers! 👋 I am actively participating in GirlScript Summer of Code 2026 and would love to work on setting up this frontend testing architecture.
Could you please:
gssoc26,enhancement, andtestinglabels to this thread?Thank you! I am ready with the solution and would love to contribute towards this project.