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
Test Checklist
Integration
Unit
Notes
Docs: update docs/architecture.md test row if new support fixtures added.
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
useMatrixClient→ mock SDKsendEventround-tripuseState+ stored session fixturematrixClientSpecMocks/matrixClientTestSetuppatterns from unit layertests/integration/composables/useMatrixClient.session.spec.ts(new)Branch
feature/integration-matrix-clientAcceptance Criteria
npm run test:integrationgreen locally and in CITest Checklist
Integration
npm run test:integrationUnit
npm run test:unitNotes
Docs: update
docs/architecture.mdtest row if new support fixtures added.