mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 02:12:26 +00:00
test(11b): un-quarantine nostr-boost-actions + admin-list-store
Triaged two more silently-excluded test files back into CI. - nostr-boost-actions: STALE SPEC. Test required buildRepostEvent to throw /missing-event-relay/ with no relay hint, but a relay hint is a NIP-18 SHOULD (not MUST) — the builder degrades to a two-element `e` tag so a user can always repost. Replaced with an exact assertion of the valid output (kind 16 + e/p/k). - admin-list-store: STALE HARNESS (no production change, no assertion weakened). Community curator lists are fetched via the batched SubscriptionManager (cold-start relay-storm fix) the harness never mocked; the mock "hex" curator values started with "npub" so parseCommunityBlacklistReferences decoded them twice; and createListEvent omitted the `d` tag selectNewestEventsForReferences matches on. Fixed all three to be faithful to production. Removed both from the QUARANTINE map; TEST_INTEGRITY.md + TODO updated. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
8ab531b241
commit
fe653706a1
5 files changed
+130
-25
No files matched your search
@@ -16,8 +16,6 @@ process.env.NODE_ENV = "test";
|
||||
const QUARANTINE = new Map([
|
||||
["tests/user-blocks.test.mjs", "HANG — triage todo-11b"],
|
||||
["tests/nostr-count-fallback.test.mjs", "FAIL — triage todo-11b"],
|
||||
["tests/admin-list-store.test.mjs", "FAIL — triage todo-11b"],
|
||||
["tests/nostr-boost-actions.test.mjs", "FAIL — triage todo-11b"],
|
||||
["tests/nwc-client.test.mjs", "FAIL — mocks nostr-tools but is shadowed by the frozen canonical toolkit the bootstrap installs (real @noble rejects the fake keys). The underlying production bug (parseNwcUri passed a hex secret to getPublicKey, which needs bytes — NWC connection broken) is FIXED and guarded by tests/nwc-parse-uri.test.mjs; this file needs a mock-injection rework. triage todo-11b (NWC / item #3)"],
|
||||
["tests/nostr-publish-rejection.test.mjs", "FAIL — triage todo-11b"],
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user