talawa-api icon indicating copy to clipboard operation
talawa-api copied to clipboard

Test: src/graphql/types/FundCampaign/updater.ts

Open bandhan-majumder opened this issue 11 months ago • 4 comments

Goal

The goal of this issue is to improve the code coverage for the file: src/graphql/types/FundCampaign/updater.ts

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.

Parent issue

https://github.com/PalisadoesFoundation/talawa-api/issues/2920

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

  • https://github.com/PalisadoesFoundation/talawa/issues/359

bandhan-majumder avatar Jan 27 '25 13:01 bandhan-majumder

Can I be assigned this issue?

syedali237 avatar Jan 27 '25 19:01 syedali237

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[bot] avatar Feb 10 '25 00:02 github-actions[bot]

Unassigned. Inactivity

palisadoes avatar Feb 10 '25 06:02 palisadoes

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[bot] avatar Feb 22 '25 00:02 github-actions[bot]

This issue did not get any activity in the past 180 days and thus has been closed. Please check if the newest release or develop branch has it fixed. Please, create a new issue if the issue is not fixed.

github-actions[bot] avatar Aug 21 '25 00:08 github-actions[bot]

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[bot] avatar Aug 30 '25 00:08 github-actions[bot]

This issue did not get any activity in the past 10 days and will be closed in 360 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

github-actions[bot] avatar Oct 23 '25 01:10 github-actions[bot]

Request to assign issue #3048

Hi, please assign me issue #3048.

I recently worked on #3005 (raised a PR) — similar test coverage work — so I’m already familiar with the Talawa API codebase and Vitest setup.

For this issue, I’ll:

  • Review src/graphql/types/FundCampaign/updater.ts and identify uncovered lines.
  • Write new tests to reach 100% coverage, including all branches and edge cases.
  • Safely remove unnecessary /* istanbul ignore */ lines.

I’ll ensure clean commits, passing CI, and full coverage before submitting the PR.

Digvijay-x1 avatar Nov 01 '25 19:11 Digvijay-x1

This issue did not get any activity in the past 10 days and will be closed in 360 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

github-actions[bot] avatar Nov 13 '25 00:11 github-actions[bot]