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

Improve Code Coverage in src/screens/OrganizationTags/OrganizationTags.tsx #3031

Closed
hustlernik opened this issue Dec 29, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working good first issue Good for newcomers test Testing application ui/ux issue related and being worked with the figma file of the Admin UI

Comments

@hustlernik
Copy link
Contributor

Goal

The goal of this issue is to improve the code coverage for the screen: src/screens/OrganizationTags/OrganizationTags.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.
@hustlernik hustlernik added the bug Something isn't working label Dec 29, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation test Testing application ui/ux issue related and being worked with the figma file of the Admin UI unapproved good first issue Good for newcomers labels Dec 29, 2024
@palisadoes palisadoes removed the documentation Improvements or additions to documentation label Dec 29, 2024
@arpit-chakraborty
Copy link
Contributor

Can i work on this

Copy link

github-actions bot commented Jan 9, 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 9, 2025
@github-actions github-actions bot removed the no-issue-activity No issue activity label Jan 14, 2025
@arpit-chakraborty
Copy link
Contributor

I am working on the issue and have an open PR please reassign me sir.

palisadoes pushed a commit that referenced this issue Jan 19, 2025
* Code coverage improvement

* Linting issue resolved

* Reduced the no of ignore comments by adding more tests

* Reduce no of lines in OrganizationTagsMocks.ts

* Deleted MOCKS_EMPTY_USER_TAG

* Added appropiate error message

* Resolving conflicting files

* Removed all ignore statements
@github-project-automation github-project-automation bot moved this from Backlog to Done in Talawa-Admin (Tests) Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers test Testing application ui/ux issue related and being worked with the figma file of the Admin UI
Projects
Archived in project
Development

No branches or pull requests

3 participants