Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: src/screens/UserPortal/Volunteer/VolunteerManagement.test.tsx from Jest to Vitest #2581

Closed
VanshikaSabharwal opened this issue Dec 1, 2024 · 11 comments
Assignees
Labels
good first issue Good for newcomers refactor Refactor the code to improve its quality test Testing application

Comments

@VanshikaSabharwal
Copy link
Contributor

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

  1. Replace Jest-specific functions and mocks with Vitest equivalents
  2. Ensure all tests in src/screens/UserPortal/Volunteer/VolunteerManagement.test.tsx pass after migration using npm run test:vitest
  3. Maintain the test coverage for the file as 100% after migration
  4. Upload a video or photo for this specific file coverage is 100% in the PR description

Additional context

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

@anushree0809
Copy link

Please assign this issue to me!

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Dec 17, 2024
@Cioppolo14
Copy link
Contributor

Unassigning due to lack of activity.

@Gannu456
Copy link

I want to work on this,,please assign this issue to me

@Gannu456
Copy link

Gannu456 commented Dec 27, 2024 via email

Copy link

github-actions bot commented Jan 7, 2025

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

1 similar comment
Copy link

github-actions bot commented Jan 7, 2025

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Jan 7, 2025
Copy link

github-actions bot commented Jan 7, 2025

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@Cioppolo14
Copy link
Contributor

Unassigning due to inactivity and/or no submitted PR. Others need to get a chance. Please let us know whether you want to be reassigned before someone else requests assignment or select another issue.

@shivasankaran18
Copy link
Contributor

can I work on this issue ..? @palisadoes @Cioppolo14

@github-actions github-actions bot removed the no-issue-activity No issue activity label Jan 8, 2025
@shivasankaran18
Copy link
Contributor

@palisadoes ...this issue is already solved and the file is updated with vitest .. the file Volunteer/Groups/GroupModal.test.tsx is not solved so raising a PR after solving that one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers refactor Refactor the code to improve its quality test Testing application
Projects
Status: Done
Status: Done
Development

No branches or pull requests

7 participants