Skip to content

L2PS messaging: real-server integration test harness #980

Description

@linear

src/features/l2ps-messaging/tests/integration.test.ts drives a re-implemented fake server (register/send logic reimplemented inline), so it never exercises the real L2PSMessagingServer. Request/response-level behavior — requestId echo, canonicalization consistency across register → send → history → offline delivery, ed25519 proof verification — isn't covered end-to-end.

Do: boot the real server (Bun.serve) against a test DB, drive it over a real WebSocket client, and port the integration scenarios onto that harness. Removes the mock-boundary gap flagged during the #979 review.

Ref: PR #979.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions