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/AgendaItems/AgendaItemsContainer.test.tsx from Jest to Vitest #2488

Closed
prayanshchh opened this issue Nov 28, 2024 · 6 comments
Labels
good first issue Good for newcomers refactor Refactor the code to improve its quality test Testing application

Comments

@prayanshchh
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.

Acceptane Criteria

  1. Replace Jest-specific functions and mocks with Vitest equivalents and rename from test.tsx to spec.tsx
  2. Ensure all tests in src/components/AgendaItems/AgendaItemsContainer.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

@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 Nov 28, 2024
@palisadoes palisadoes added good first issue Good for newcomers and removed documentation Improvements or additions to documentation labels Nov 28, 2024
@Kanishk-tiwari-045
Copy link

@palisadoes Can I work on this Issue?

Copy link

github-actions bot commented Jan 2, 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 2, 2025
@Cioppolo14
Copy link
Contributor

Unassigning due to no activity.

@shivasankaran18
Copy link
Contributor

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

@MayankJha014
Copy link
Contributor

Sir @palisadoes Can you assign this issue to me

@shivasankaran18
Copy link
Contributor

@palisadoes ..the vitest conversion for this file already exists in the develop-postgres branch..hence unassigning myself from the issue

@shivasankaran18 shivasankaran18 removed their assignment Jan 7, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Talawa-Admin (Tests) Jan 7, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Talawa Admin - Refactoring Jan 7, 2025
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
Archived in project
Development

No branches or pull requests

6 participants