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

Refactoring src/topics/tags.js #103

Open
wants to merge 3 commits into
base: f24
Choose a base branch
from

Conversation

DachiCharkviani
Copy link

@DachiCharkviani DachiCharkviani commented Sep 5, 2024

Executed the refactoring demand, additionally added test cases for the code I wrote (they all pass), my code is covered by the test coverage (test coverage percentage for the file went up, from 90 to 92.25), and checked through console log whether or not what I added worked!

I checked console logs through creating a new topic post. In the post I simply tagged myself and posted it. This executed printing my Andrew id in the nodebb log since one of the functions I refactored was about creating tags!

Resolved #94

Copy link

sonarcloud bot commented Sep 5, 2024

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10724248550

Details

  • 37 of 37 (100.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.03%) to 82.697%

Files with Coverage Reduction New Missed Lines %
src/topics/tags.js 1 88.8%
src/meta/errors.js 1 76.74%
Totals Coverage Status
Change from base Build 10550029021: 0.03%
Covered Lines: 22335
Relevant Lines: 25586

💛 - Coveralls

@DachiCharkviani
Copy link
Author

resolves #94

@DachiCharkviani DachiCharkviani changed the title Refactoring Refactoring src/topics/tags.js Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactoring code in src/topics/tags.js
2 participants