mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-28 04:21:00 +00:00
Introduce Membership type
This commit is contained in:
committed by
Andy Balaam
parent
3c6fd58628
commit
da99bad7b9
@@ -36,7 +36,7 @@ describe("local-room", () => {
|
||||
beforeEach(() => {
|
||||
client = createTestClient();
|
||||
room1 = new Room("!room1:example.com", client, userId1);
|
||||
room1.getMyMembership = () => "join";
|
||||
room1.getMyMembership = () => Membership.Join;
|
||||
localRoom = new LocalRoom(LOCAL_ROOM_ID_PREFIX + "test", client, "@test:example.com");
|
||||
mocked(client.getRoom).mockImplementation((roomId: string) => {
|
||||
if (roomId === localRoom.roomId) {
|
||||
|
||||
Reference in New Issue
Block a user