mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-21 19:09:20 +00:00
fix uncaught errors in tests
This commit is contained in:
@@ -131,6 +131,9 @@ export function withCallViewModel(mode: MatrixRTCMode) {
|
|||||||
public getSyncState(): SyncState {
|
public getSyncState(): SyncState {
|
||||||
return syncState;
|
return syncState;
|
||||||
}
|
}
|
||||||
|
public getAccessToken(): string | null {
|
||||||
|
return "a-token";
|
||||||
|
}
|
||||||
})() as Partial<MatrixClient> as MatrixClient,
|
})() as Partial<MatrixClient> as MatrixClient,
|
||||||
getMembers: () => roomMembers,
|
getMembers: () => roomMembers,
|
||||||
getMembersWithMembership: () => roomMembers,
|
getMembersWithMembership: () => roomMembers,
|
||||||
|
|||||||
Reference in New Issue
Block a user