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

cameri / nostream / 24603821829
65%

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

18 Apr 2026 11:36AM UTC coverage: 54.64% (+0.3%) from 54.309%
24603821829

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>

560 of 1124 branches covered (49.82%)

Branch coverage included in aggregate %.

1583 of 2798 relevant lines covered (56.58%)

9.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit - 24603821829.1 18 Apr 2026 11:38AM UTC 103
51.73
GitHub Action Run
2 Integration - 24603821829.2 18 Apr 2026 11:38AM UTC 103
31.92
GitHub Action Run
Source Files on build 24603821829
  • Tree
  • List 103
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 28022cb4 on github
  • Prev Build on main (#24603659280)
  • Next Build on main (#24604551550)
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