Skip to content

Write tests for src/components/Pagination/PaginationList/PaginationList.tsx #3686

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

Open
JaiPannu-IITI opened this issue Feb 17, 2025 · 11 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation test Testing application

Comments

@JaiPannu-IITI
Copy link

Goal

The goal of this issue is to improve the code coverage for the component: src/components/Pagination/PaginationList/PaginationList.tsx

Tasks

  1. Review the file to identify sections of code that are being ignored by Codecov or are not covered by tests.
  2. Create or update test cases to ensure 100% coverage for the file.
  3. Remove any /* istanbul ignore */ or equivalent statements that bypass code coverage reporting, unless absolutely necessary.

Resources

  • Refer to the foundational documentation on writing test cases in the repository.
  • Check the Codecov report for details on the uncovered lines.

Acceptance Criteria

  • All sections of the file are covered by tests.
  • Code coverage for the file reaches 100%.
  • PR created with necessary updates, passing all checks and reviews.
@JaiPannu-IITI JaiPannu-IITI added the bug Something isn't working label Feb 17, 2025
@github-actions github-actions bot added documentation Improvements or additions to documentation test Testing application unapproved labels Feb 17, 2025
@2003Aditya
Copy link

hey! @JaiPannu-IITI can i work on this?

@JaiPannu-IITI
Copy link
Author

I am not authorised to assign an issue, please ask @Cioppolo14 or @palisadoes

@Sujal942
Copy link

Hey, can i work in this @palisadoes

@Cioppolo14
Copy link
Contributor

@Sujal942 f the issue has already been assigned, please don't ask to be assigned. We want everyone to get a chance.

@Sujal942
Copy link

Ok @Cioppolo14, No Problem I will check another one.

@Sujal942
Copy link

Hey, @Cioppolo14 Can I now work on this? If no one contributes to this.

@Sujal942
Copy link

Hey @Cioppolo14 I write the unit test this component can i rise a PR this is the coverage report.

Image

@JaiPannu-IITI
Copy link
Author

That's great !! Raise a PR 👍🏻

@Sujal942
Copy link

Sujal942 commented Mar 14, 2025

Sure @JaiPannu-IITI @palisadoes @Cioppolo14 can you assign this issue to me

@JaiPannu-IITI
Copy link
Author

This issue is already assigned to someone then you cannot.

Anyways I don't even have permission to assign issues

@palisadoes
Copy link
Contributor

unassigned. Inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation test Testing application
Projects
Status: Backlog
Development

No branches or pull requests

5 participants