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/components/TagActions/TagActions.test.tsx from jest to vitest #3120

Closed
mandeepnh5 opened this issue Jan 2, 2025 · 11 comments
Closed
Labels
feature request refactor Refactor the code to improve its quality test Testing application

Comments

@mandeepnh5
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The 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. Rename the test file from having a .test.* suffix to a .spec.* suffix.
  3. Ensure all tests in the file pass after migration using npm run test:vitest.
  4. Maintain the test coverage for the file as 100% after migration.
  5. Upload a video or photo showing that this specific file's coverage is 100% in the PR description.

Additional context

  1. Refer to the merged PR for the base Vitest configuration: https://github.com/PalisadoesFoundation/talawa-admin/pull/2457/files#diff-9a5a35cf8d7f02b2bba90905714b762560579c4789e9eb4cebb4607980aa3d93
  2. Vitest reference site: https://vitest.dev/

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

@github-actions github-actions bot added refactor Refactor the code to improve its quality test Testing application unapproved labels Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@mandeepnh5
Copy link
Contributor Author

Please 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 Jan 12, 2025
@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.

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

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

@NishantSinghhhhh
Copy link
Contributor

@palisadoes , @Cioppolo14 , can I work on this issue

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 Jan 23, 2025
@palisadoes
Copy link
Contributor

Unassigning. Inactivity

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

@palisadoes Can I work on this one?

@amaan-aly246
Copy link
Contributor

@palisadoes If available please assign this issue to me.
Thanks

@varshith257
Copy link
Member

Duplicate issue fixed by #3060

@varshith257 varshith257 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Talawa Admin - Refactoring Jan 26, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Talawa-Admin (Tests) Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request refactor Refactor the code to improve its quality test Testing application
Projects
Status: Done
Status: Done
Development

No branches or pull requests

9 participants