Introduce Membership type

This commit is contained in:
Stanislav Demydiuk
2024-03-18 14:43:08 +00:00
committed by Andy Balaam
parent 3c6fd58628
commit da99bad7b9
115 changed files with 582 additions and 526 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ describe("useUnreadNotifications", () => {
});
it("indicates the user has been invited to a channel", async () => {
room.updateMyMembership("invite");
room.updateMyMembership(Membership.Invite);
const { result } = renderHook(() => useUnreadNotifications(room));
const { level, symbol, count } = result.current;