Is your feature request related to a problem? Please describe.
This file is currently tested using Jest. As part of our migration to Vitest, we need to refactor this file's test cases to align with Vitest's syntax and features.
Acceptance Criteria
Replace Jest-specific functions and mocks with Vitest equivalents and rename from test.tsx to spec.tsx
Ensure all tests in src/components/AddOn/core/AddOnRegister/AddOnRegister.test.tsx pass after migration using npm run test:vitest
Maintain the test coverage for the file as 100% after migration
Upload a video or photo for this specific file coverage is 100% in the PR description
Is your feature request related to a problem? Please describe.
This file is currently tested using Jest. As part of our migration to Vitest, we need to refactor this file's test cases to align with Vitest's syntax and features.
Acceptance Criteria
test.tsx
tospec.tsx
src/components/AddOn/core/AddOnRegister/AddOnRegister.test.tsx
pass after migration usingnpm run test:vitest
Additional Context
Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship