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

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

Build:
Build:
LAST BUILD BRANCH: develop/1.1.0
DEFAULT BRANCH: v1
Ran 26 Apr 2026 05:24PM UTC
Jobs 2
Files 16
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

26 Apr 2026 05:23PM UTC coverage: 97.162% (-0.3%) from 97.418%
24962585779

push

github

palcarazm
refactor(events): migrate to typed Component.emit() and EventFactory

Replace manual event system (EventManager, DarkModeToggleEvent) with Component's
native emit() and typed event map. EventManager is replaced by EventFactory,
which now only creates event payloads and objects, not dispatching. Events now
use proper typing via ExtendableEventMap, eliminating unsafe casts. Adds runtime
validation for external events to prevent crashes from malformed payloads.

- Remove EventManager.ts and DarkModeToggleEvent.ts
- Add EventFactory.ts with static methods for event creation
- Update DarkModeToggle to use DarkModeToggleEventMap generic
- Change trigger() to dispatch legacy event first for consistent order
- Add malformed event test to cover validation branch

276 of 291 branches covered (94.85%)

Branch coverage included in aggregate %.

25 of 25 new or added lines in 3 files covered. (100.0%)

306 of 308 relevant lines covered (99.35%)

125.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 coverage-report-24.x - 24962585779.1 26 Apr 2026 05:24PM UTC 32
97.83
GitHub Action Run
2 coverage-report-22.x - 24962585779.2 26 Apr 2026 05:24PM UTC 32
97.83
GitHub Action Run
Source Files on build 24962585779
  • Tree
  • List 16
  • Changed 14
  • Source Changed 2
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24962585779
  • a4bc2754 on github
  • Prev Build on develop/1.1.0 (#24925975369)
  • Next Build on develop/1.1.0 (#24964220243)
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