Closed
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
- Replace Jest-specific functions and mocks with Vitest equivalents
- Ensure all tests in
src/screens/OrgContribution
pass after migration usingnpm 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
Additional context
- Refer to the merged PR for the base Vitest configuration:
https://github.com/PalisadoesFoundation/talawa-admin/pull/2457/files#diff-9a5a35cf8d7f02b2bba90905714b762560579c4789e9eb4cebb4607980aa3d93 - Vitest documentation:
https://vitest.dev/
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done
Status
Done