Skip to content

Refactoring src/topics/tags.js#103

Open
DachiCharkviani wants to merge 3 commits into
CMU-17313Q:f24from
DachiCharkviani:refactoring
Open

Refactoring src/topics/tags.js#103
DachiCharkviani wants to merge 3 commits into
CMU-17313Q:f24from
DachiCharkviani:refactoring

Conversation

@DachiCharkviani

@DachiCharkviani DachiCharkviani commented Sep 5, 2024

Copy link
Copy Markdown

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

@sonarqubecloud

sonarqubecloud Bot commented Sep 5, 2024

Copy link
Copy Markdown

@coveralls

Copy link
Copy Markdown

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
Copy Markdown
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