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/BlockUser from Jest to Vitest #2544

Closed
VanshikaSabharwal opened this issue Dec 1, 2024 · 3 comments
Closed

Refactor: src/screens/BlockUser from Jest to Vitest #2544

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

Comments

@VanshikaSabharwal
Copy link
Contributor

VanshikaSabharwal commented Dec 1, 2024

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/BlockUser 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

@github-actions github-actions bot added documentation Improvements or additions to documentation refactor Refactor the code to improve its quality test Testing application unapproved labels Dec 1, 2024
@VanshikaSabharwal VanshikaSabharwal changed the title Refactor: src/screens/BlockUser Refactor: src/screens/BlockUser Dec 1, 2024
@VanshikaSabharwal VanshikaSabharwal changed the title Refactor: src/screens/BlockUser Refactor: src/screens/BlockUser from Jest to Vitest Dec 1, 2024
@varshith257 varshith257 added good first issue Good for newcomers and removed unapproved labels Dec 1, 2024
@amitb0ra
Copy link
Contributor

amitb0ra commented Dec 1, 2024

hey @varshith257, can you assign this 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 21, 2024
@amaan-aly246
Copy link
Contributor

@varshith257 Assign this issue to me if possible.
Thanks

@github-project-automation github-project-automation bot moved this from Backlog to Done in Talawa Admin - Refactoring Dec 28, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Talawa-Admin (Tests) Dec 28, 2024
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 no-issue-activity No issue activity refactor Refactor the code to improve its quality test Testing application
Projects
Status: Done
Archived in project
Development

No branches or pull requests

5 participants