Skip to content

fixed issue #4: Refactored smell of src/posts/index.js#34

Open
fahadabd1 wants to merge 3 commits into
CMU-17313Q:mainfrom
fahadabd1:fix-smell
Open

fixed issue #4: Refactored smell of src/posts/index.js#34
fahadabd1 wants to merge 3 commits into
CMU-17313Q:mainfrom
fahadabd1:fix-smell

Conversation

@fahadabd1
Copy link
Copy Markdown

Fixed: #4
The changes made in src/posts/index.js file were: two functions with many parameters smell, using spread syntax. The changes were tested by running the NodeBB website and navigating to the General Discussion forum while monitoring the NodeBB logs.

Useful thread to solve

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 17499526195

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 78.53%

Totals Coverage Status
Change from base Build 17472903245: 0.001%
Covered Lines: 24694
Relevant Lines: 29608

💛 - Coveralls

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/posts/index.js

2 participants