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

Dynamic tool install stryker mutator #52

Closed

Conversation

jdufitum
Copy link

@jdufitum jdufitum commented Nov 6, 2024

Installed dynamic tool stryker. test it and passing

dmohanadi and others added 30 commits September 19, 2024 17:45
refactored code for meta tags to reduce cognitive complexity
Refactor `src/topics/unread.js`
…g it to postData object in the create file to track if a post is instructor approved
- File: ./node_modules/nodebb-theme-harmony/templates/partials/topic/post.tpl
- Lines: ~11, ~35

Changes:
1. Added if-else-end condition to check for annonymousType flag at line 11:
   - Display user avatar and profile link if annonymousType is "None".
   - Display anonymous avatar and empty link otherwise.

2. Added if-else-end condition to check for annonymousType flag at line 35:
   - Display user display name and profile link if annonymousType is "None".
   - Display "Anonymous-{posts.annonymousType}" and empty link otherwise.
- File: ./node_modules/nodebb-theme-harmony/templates/partials/topic/post.tpl
- Lines: ~11, ~35

Changes:
1. Added if-else-end condition to check for annonymousType flag at line 11:
   - Display user avatar and profile link if annonymousType is "None".
   - Display anonymous avatar and empty link otherwise.

2. Added if-else-end condition to check for annonymousType flag at line 35:
   - Display user display name and profile link if annonymousType is "None".
   - Display "Anonymous-{posts.annonymousType}" and empty link otherwise.
Tasnim1147 and others added 27 commits October 25, 2024 18:00
Implement controller and backend logic for `isApproved` feature
Delete .github/workflows/f24_nodebb-pentagon.yml
Transfer node_modules code to src/
Create package.json for azure deployment
…-stryker-mutator

Revert "installed a dynamic tool stryker"
…ator

Dynamic tool install stryker mutator
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11704418402

Details

  • 50 of 79 (63.29%) changed or added relevant lines in 10 files are covered.
  • 5775 unchanged lines in 240 files lost coverage.
  • Overall coverage decreased (-22.8%) to 59.898%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/flags.js 4 7 57.14%
src/topics/unread.js 6 12 50.0%
src/controllers/write/posts.js 1 21 4.76%
Files with Coverage Reduction New Missed Lines %
src/messaging/create.js 1 88.07%
src/user/blocks.js 1 84.82%
src/socket.io/admin/errors.js 1 75.0%
src/request.js 1 90.38%
src/messaging/data.js 1 89.77%
src/socket.io/admin/settings.js 1 93.33%
src/routes/index.js 1 83.33%
src/middleware/csrf.js 1 76.0%
public/src/utils.common.js 1 81.29%
src/routes/helpers.js 1 87.04%
Totals Coverage Status
Change from base Build 10701387427: -22.8%
Covered Lines: 16334
Relevant Lines: 25296

💛 - Coveralls

@jdufitum
Copy link
Author

jdufitum commented Nov 6, 2024

fixed

@jdufitum jdufitum closed this Nov 6, 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.

7 participants