Remove dead code around the archived room sublist

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-11-25 17:42:02 +00:00
parent a2a066d8b4
commit 877f755114
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
7 changed files with 23 additions and 81 deletions

View file

@ -86,13 +86,6 @@ describe("RoomGeneralContextMenu", () => {
await clearAllModals();
});
it("renders an empty context menu for archived rooms", async () => {
jest.spyOn(RoomListStore.instance, "getTagsForRoom").mockReturnValueOnce([DefaultTagID.Archived]);
const { container } = getComponent({});
expect(container).toMatchSnapshot();
});
it("renders the default context menu", async () => {
const { container } = getComponent({});
expect(container).toMatchSnapshot();