mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-31 07:00:26 +00:00
fixup tests / comments
This commit is contained in:
@@ -136,6 +136,10 @@ export class EmittableMockLivekitRoom extends EventEmitter {
|
||||
this.remoteParticipants.delete(remoteParticipant.identity);
|
||||
this.emit(RoomEvent.ParticipantDisconnected, remoteParticipant);
|
||||
}
|
||||
|
||||
public getAsLivekitRoom(): LivekitRoom {
|
||||
return this as unknown as LivekitRoom;
|
||||
}
|
||||
}
|
||||
|
||||
export function mockLivekitRoom(
|
||||
|
||||
@@ -204,7 +204,11 @@ export class MockRoom extends EventEmitter {
|
||||
return evt.getId()!;
|
||||
}
|
||||
|
||||
public getMember() {
|
||||
return undefined;
|
||||
public getMember(): void {
|
||||
return;
|
||||
}
|
||||
|
||||
public testGetAsMatrixRoom(): Room {
|
||||
return this as unknown as Room;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user