Something went wrong. Try again.
A community based topic aggregation platform built on atproto
Something went wrong. Try again.
test(communities): add E2E tests and update service mocks master
E2E Tests (3 new test cases): - Block via XRPC endpoint: Full flow from HTTP → PDS → Jetstream → AppView - Unblock via XRPC endpoint: Complete unblock flow with DELETE event - Block fails without authentication: Validates auth requirement (401) Each E2E test verifies: ✓ XRPC endpoint responds correctly ✓ Record created/deleted on PDS ✓ Jetstream consumer indexes event ✓ AppView database state updated Unit Test Updates: - Added 6 mock methods to mockCommunityRepo for blocking operations - Ensures service layer tests compile and pass All tests follow existing E2E patterns (subscribe/unsubscribe) for consistency.
Author Bretton Date (Oct 18, 2025, 1:14 AM UTC) Commit b6827681 b6827681b5311b2c6a43c7135e3707c9b549408d Parent 599a3877 599a3877d4b86c0b9c6112fe564bf127fb9f2303