khatru: add tests for NIP-09 delete hook and edge cases #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
After adding the
OnDeleteAppliedhook, we need comprehensive tests to ensure the hook behaves correctly in all scenarios and to prevent regressions.Acceptance Criteria
etag (kind 5 deletes target event + hook is called with correct parameters)atag (addressable events)All tests should verify that the hook receives the correct
deleteEventanddeletedEvent.References
OnDeleteAppliedhook