Skip to content

test: update unit tests for NIP-01 compliance changes#480

Merged
cameri merged 2 commits intomainfrom
fix/update-tests-for-nip01-ordering
Apr 18, 2026
Merged

test: update unit tests for NIP-01 compliance changes#480
cameri merged 2 commits intomainfrom
fix/update-tests-for-nip01-ordering

Conversation

@phoenix-server
Copy link
Copy Markdown
Collaborator

Summary

  • Update event-repository specs to expect deterministic event_id secondary sort alongside event_created_at, matching the behavior introduced in 764ce00
  • Update parameterized-replaceable-event-strategy spec to expect only the first dedup key value, matching the behavior change in 7f56d4a

Both commits landed without corresponding test updates, leaving 31 failing tests on main.

Test plan

  • All 383 unit tests pass (npm run test:unit)
  • Lint passes
  • Build check passes

🤖 Generated with Claude Code

github-manager and others added 2 commits April 17, 2026 21:38
Update event-repository specs to expect deterministic event ordering by
event_id (asc) alongside event_created_at, matching the behavior added
in 764ce00. Also update parameterized-replaceable-event-strategy spec to
expect only the first dedup key value, matching the change in 7f56d4a.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The accepts package was imported directly in root-request-handler and
routes/index but relied on express as an implicit transitive dep.
Knip flags this as an unlisted dependency; declare it explicitly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@phoenix-server phoenix-server force-pushed the fix/update-tests-for-nip01-ordering branch from bb76ed1 to ec30de0 Compare April 18, 2026 01:39
@cameri cameri merged commit 3cb65a6 into main Apr 18, 2026
7 checks passed
@cameri cameri deleted the fix/update-tests-for-nip01-ordering branch April 18, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants