fix uncaught errors in tests

This commit is contained in:
Valere
2026-04-02 16:53:21 +02:00
parent 90bfaecd13
commit b5be123953

View File

@@ -131,6 +131,9 @@ export function withCallViewModel(mode: MatrixRTCMode) {
public getSyncState(): SyncState {
return syncState;
}
public getAccessToken(): string | null {
return "a-token";
}
})() as Partial<MatrixClient> as MatrixClient,
getMembers: () => roomMembers,
getMembersWithMembership: () => roomMembers,