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

palcarazm / bs-darkmode-toggle / 24149212465
97%
v1: 98%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/minor-and-patch-updates-b47236feb0
DEFAULT BRANCH: v1
Ran 08 Apr 2026 05:29PM UTC
Jobs 2
Files 17
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

08 Apr 2026 05:27PM UTC coverage: 98.773% (+0.06%) from 98.715%
24149212465

push

github

web-flow
feat: implement cross-instance synchronization for multiple toggles (#85)

* feat: implement cross-instance synchronization for multiple toggles

Add event-based coordination so multiple toggle instances on the same page
share a single global state. When one toggle changes the theme, all other
toggles automatically update their visual state.

- Add OVERRIDE action to StateReducer for external state updates
- Each instance listens for darkmode:change events on document
- Sync only when ALL root elements are affected by the event
- Update DOM without retriggering storage or events
- Add unit tests for root sharing, partial overlap, and state matching
- Add manual test case for multi-control verification in test app

Implements #60

* fix: remove this unused import of 'TEST_CONSTANTS'

Unnecessary imports should be removed javascript:S1128

206 of 210 branches covered (98.1%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 2 files covered. (100.0%)

277 of 279 relevant lines covered (99.28%)

107.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 coverage-report-24.x - 24149212465.1 08 Apr 2026 05:29PM UTC 34
98.98
GitHub Action Run
2 coverage-report-22.x - 24149212465.2 08 Apr 2026 05:29PM UTC 34
98.98
GitHub Action Run
Source Files on build 24149212465
  • Tree
  • List 17
  • Changed 13
  • Source Changed 3
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24149212465
  • e5f3887e on github
  • Prev Build on develop/1.1.0 (#24141672558)
  • Next Build on develop/1.1.0 (#24150039204)
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