Skip to content

Integration: Matrix client session and send wiring #130

@mjkatgithub

Description

@mjkatgithub

Planning

Goal

Add integration specs that exercise real composable wiring for Matrix
client session + message send, using shared mocks from unit tests but importing
multiple production modules together.

Scope

  • Login → useMatrixClient → mock SDK sendEvent round-trip
  • Session restore path with useState + stored session fixture
  • Reuse matrixClientSpecMocks / matrixClientTestSetup patterns from unit layer
  • File: tests/integration/composables/useMatrixClient.session.spec.ts (new)

Branch

feature/integration-matrix-client

Acceptance Criteria

  • ≥ 5 integration tests covering login, restore, and send text message
  • Tests fail if composable wiring breaks (not only export shape checks)
  • npm run test:integration green locally and in CI

Test Checklist

Integration

  • npm run test:integration

Unit

  • No regression: npm run test:unit

Notes

Docs: update docs/architecture.md test row if new support fixtures added.

Metadata

Metadata

Assignees

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions