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

cameri / nostream / 24603821829 / 2
65%
main: 65%

Build:
DEFAULT BRANCH: main
Ran 18 Apr 2026 11:38AM UTC
Files 103
Run time 2s
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

18 Apr 2026 11:36AM UTC coverage: 31.922% (+0.2%) from 31.744%
24603821829.2

push

github

web-flow
test: add missing unit tests for createCommandResult, createSubscriptionMessage and createRelayedEventMessage (#470)

These three message factory functions in src/utils/messages.ts were
exported and used across the relay but had no tests in the spec file.

- createCommandResult (NIP-20): covers success=true with empty reason
  and success=false with a rejection reason string
- createSubscriptionMessage (NIP-01 REQ): covers single-filter and
  multi-filter cases, verifying the spread into index positions 2+
- createRelayedEventMessage: covers both code paths — the branch that
  returns a 2-element tuple when no secret is passed, and the branch
  that appends the secret as a third element

Co-authored-by: Ricardo Cabral <me@ricardocabral.io>

234 of 1124 branches covered (20.82%)

Branch coverage included in aggregate %.

1018 of 2798 relevant lines covered (36.38%)

6.17 hits per line

Source Files on job Integration - 24603821829.2
  • Tree
  • List 103
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24603821829
  • 28022cb4 on github
  • Prev Job for on main (#24603659280.2)
  • Next Job for on main (#24604551550.1)
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