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

Code Coverage : Create Tests for OrganizatioEvents.tsx

Open SiddheshKukade opened this issue 3 years ago • 1 comments

The Talawa-Admin code base needs to be 100% reliable. This means we need to have 100% test code coverage.

Tests need to be written for file src/screens/OrganizationEvents/OrganizationEvents.tsx

  • When complete, all methods, classes and/or functions in the file will need to be tested.
  • These tests must be placed in a single file with the name src/screens/OrganizationEvents/OrganizationEvents.test.tsx. You may need to create the appropriate directory structure to do this.

IMPORTANT:

Please refer to the parent issue on how to implement these tests correctly:

  • #241

PR Acceptance Criteria

  • When complete this file must show 100% coverage when merged into the code base. This will be clearly visible when you submit your PR.
  • The current code coverage for the file can be found here. If the file isn't found in this directory, or there is a 404 error, then tests have not been created.
  • Create a code coverage account for your repo's preferred branch to generate the values when you do your commits for that branch to your repo.
    • NOTE: Make sure you select the correct branch when you do the setup, or else the reporting will fail. You must also create a CODECOV GitHub secret for your repo as part of the process.
  • The PR will show a report for the code coverage for the file you have added. You can also use that as a guide.

SiddheshKukade avatar Dec 09 '22 07:12 SiddheshKukade

hello 👋🏽 I would like to work on this.

VenomFate-619 avatar Dec 09 '22 18:12 VenomFate-619

hello @palisadoes i would like to work on this issue .could you please assign this task to me

shivakr07 avatar Jan 22 '23 04:01 shivakr07

@VenomFate-619 Are you still working on this?

palisadoes avatar Jan 22 '23 14:01 palisadoes

I'm on it. But due to some issue I am unable to access organization event page on frontend. Many people have reported that issue on slack. So , this issue is an blockage for me , that why's I am unable to do that.

VenomFate-619 avatar Jan 22 '23 15:01 VenomFate-619

@VenomFate-619 Is there an issue created for the organization access difficulty? Please add the link here if it exists

palisadoes avatar Jan 22 '23 17:01 palisadoes

I want to work on this issue. Please allow me to work on it.

Ayush-sss avatar Feb 05 '23 09:02 Ayush-sss

I'm going to reassign this to @shivakr07. This issue has been open for some time without action.

palisadoes avatar Feb 05 '23 16:02 palisadoes

@shivakr07 Any progress ?

noman2002 avatar Feb 18 '23 19:02 noman2002

Unassigned due to inactivity.

noman2002 avatar Feb 21 '23 18:02 noman2002

This issue did not get any activity in the past 10 days and will be closed in 365 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 Mar 06 '23 00:03 github-actions[bot]

Hey! I would love to give a shot at this issue. Can I be assigned, please?

bigBrain1901 avatar Mar 06 '23 18:03 bigBrain1901

I just saw GH-527 with @beingnoble03. Linking the PR to this issue would be great.

Do let me know if I may help with this, anyways :v:

bigBrain1901 avatar Mar 07 '23 05:03 bigBrain1901

Thanks @bigBrain1901! @palisadoes we'll let you know if there are any other duplicate issues. I think this one can be safely closed, it's a duplicate for #482.

beingnoble03 avatar Mar 07 '23 05:03 beingnoble03