mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-26 11:38:37 +00:00
Introduce Membership type
This commit is contained in:
committed by
Andy Balaam
parent
3c6fd58628
commit
da99bad7b9
@@ -106,7 +106,7 @@ describe("RoomContextMenu", () => {
|
||||
it("should render notification option for joined rooms", () => {
|
||||
const chamber = EchoChamber.forRoom(room);
|
||||
chamber.notificationVolume = RoomNotifState.Mute;
|
||||
jest.spyOn(room, "getMyMembership").mockReturnValue("join");
|
||||
jest.spyOn(room, "getMyMembership").mockReturnValue(Membership.Join);
|
||||
renderComponent();
|
||||
|
||||
expect(
|
||||
|
||||
Reference in New Issue
Block a user