No unit tests for four of six payment processors (nodeless, lnurl, opennode, zebedee)
Maintainer thường phản hồi trong vòng 1 ngày
@Priyanshubhartistm đang làm issue này rồi.
Từ ngày 20/10/2026.
- #917 của @Priyanshubhartistm — đang mở
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Read the four processor implementations in src/payments-processors/ and the existing specs for nwc and lnbits in test/unit/payments-processors/. Add unit specs covering createInvoice request mapping, getInvoice status mapping, and provider error or malformed response behavior. Done means all four processors have focused specs and the relevant unit tests pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Gap
Four of the six payment processors have no unit tests at all — no spec file imports them:
src/payments-processors/nodeless-payments-processor.ts(74 lines)src/payments-processors/lnurl-payments-processor.ts(68 lines)src/payments-processors/opennode-payments-processor.ts(64 lines)src/payments-processors/zebedee-payments-processor.ts(61 lines)
Each implements getInvoice / createInvoice against a third-party API. The nwc and lnbits processors do have specs (test/unit/payments-processors/), and the zebedee/opennode/nodeless callback schemas are tested — so this is an inconsistency, not a project-wide absence. The money-moving code paths for four providers are the ones without coverage.
How measured
Import graph over the suite: 175 spec files vs 325 src/**/*.ts files — zero spec files reference these four modules.
What's worth covering
createInvoicerequest mapping per provider (amounts, units, metadata) — the shape bugs live heregetInvoicestatus mapping (paid/pending/expired) — misreading a provider's status is a funds bug- Error paths: provider outage, malformed responses — what the caller sees and whether anything is retried or lost
- Ngôn ngữ chính
- TypeScript
- Star
- 829
- Fork
- 234
- Merge trung bình
- 17 giờ 46 phút
- Pull request đã merge (30 ngày)
- 73
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cameri/nostream
-
Website
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(payments): subscription lifecycle, renewal invoices and plan-based write accessCó thể đã có người làm @Priyanshubhartistm đã nhận 1 ngày trước. Đang mởenhancement
cameri/nostream#908 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Three repositories have no unit tests (notification-outbox, notification-delivery-log, nip05-verification)Có thể đã có người làm @Priyanshubhartistm đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 72/100
cameri/nostream#905 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cameri/nostream#902 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cameri/nostream
Issue tương tự
-
area: repo priority: P2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
appandflow/stim#4107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 60/100
lingdojo/kana-dojo#32859 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/gh-aw-firewall#10364 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Merge the duplicate kaffir_corn record into sorghumCó thể đã có người làm @Crypto-Shroom đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Crypto-Shroom/Bird-Feed-Calculator#322 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
drizzle-team/drizzle-orm#6552 ·
Maintainer thường phản hồi trong vòng 2 ngày