🔧 Setup Frontend Testing Infrastructure (Vitest + React Testing Library) #76
Closed
Yasaswini-ch
started this conversation in
Ideas
Replies: 1 comment
-
|
@Yasaswini-ch |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Currently, the client-side application lacks a testing framework. As the codebase grows, manual testing becomes inefficient and prone to regressions. Establishing a solid testing foundation is critical for ensuring reliability, especially for health-related features.
Proposed Solution
Set up a modern testing environment using Vitest (chosen for its speed and native Vite compatibility) and React Testing Library (for testing components in a way that resembles user behavior).
Key Tasks
vitest,jsdom,@testing-library/react,@testing-library/jest-dom."test": "vitest"and"test:ui": "vitest --ui".Benefits
Tech Stack
I would like to work on this issue under SWOC26
Beta Was this translation helpful? Give feedback.
All reactions