Migrate frontend unit tests to Vitest #670
Labels
complexity: large
feature: Quality Control
javascript
Pull requests that update Javascript code
P3: Med
Medium priority
PBV: dev
all issues for engineering roles (devops, backend, frontend, db)
role: frontend
Pertains to frontend tasks
size: 8pt
Can be done in 31-48 hours
Milestone
Story
As a developers, we should have reliable unit tests for the frontend so that we can detect bugs early and ensure that new changes don't introduce unintended consequences.
Overview
We recently migrated from CRA+Webpack to Vite, which means that our old unit tests in Jest will no longer be effective. Vite does not have out of box support for Jest. We should migrate our Jest unit tests to Vitest.
Lastly, some old unit tests are outdated because they tested old Design System UI components. We need to audit them to see if they are still relevant for testing updated UI components.
Action Items
npm run test
is fully functionalResources
The text was updated successfully, but these errors were encountered: