• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CMU-313 / nodebb-spring-26-tigers / 22476320065
79%

Build:
DEFAULT BRANCH: main
Ran 27 Feb 2026 07:43PM UTC
Jobs 1
Files 399
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Feb 2026 07:00AM UTC coverage: 78.839% (-0.02%) from 78.863%
22476320065

push

github

web-flow
tests/feat: anonymous toggle functionality

Context
This PR introduces support for marking topics and posts as “anonymous.”

Description
When the "Post anonymously" toggle is checked when drafting a post, it gets marked as anonymous and the username of the poster is hidden

Changes

Added plugin to scrub user data from posts and inject the toggle into the composer
Changed topic and post schemas to show the anonymous fields of topic and post objects
getFields methods for posts and topics now exposes anonymous field
Tests for verifying the toggle injection rendering and user scrubbing functions of the plugin
Testing

Unit tests (npm test)
npm install, ./nodebb activate nodebb-plugin-anon-toggle, then build and run to see the toggle and make test posts

11718 of 16717 branches covered (70.1%)

Branch coverage included in aggregate %.

63 of 72 new or added lines in 4 files covered. (87.5%)

25 existing lines in 5 files now uncovered.

25588 of 30602 relevant lines covered (83.62%)

1484.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.66
plugins/nodebb-plugin-anon-toggle/library.js
7
68.12
plugins/nodebb-plugin-anon-toggle/public/client.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.15
-0.18% src/plugins/index.js
2
82.42
1.02% src/posts/tools.js
4
86.13
-2.31% src/topics/events.js
6
82.62
0.86% src/topics/tools.js
12
50.0
-15.0% src/database/redis/connection.js
Jobs
ID Job ID Ran Files Coverage
1 22476320065.1 27 Feb 2026 07:43PM UTC 399
78.84
GitHub Action Run
Source Files on build 22476320065
  • Tree
  • List 399
  • Changed 10
  • Source Changed 7
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22476320065
  • cc3aad6d on github
  • Prev Build on main (#22247006650)
  • Next Build on main (#22510696586)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc