Remove SpaceScopeHeader (#12785)
* Remove SpaceScopeHeader It is no longer necessary as we no longer offer the ability to open the member list for a space from any random room. Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove stale test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c57d8463b9
commit
4edf4e42cd
8 changed files with 2 additions and 101 deletions
|
@ -302,15 +302,6 @@ describe("<UserInfo />", () => {
|
|||
expect(screen.queryByTestId("space-header")).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders space header when room is a space room", () => {
|
||||
const spaceRoom = {
|
||||
...mockRoom,
|
||||
isSpaceRoom: jest.fn().mockReturnValue(true),
|
||||
};
|
||||
renderComponent({ room: spaceRoom });
|
||||
expect(screen.getByTestId("space-header")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders encryption info panel without pending verification", () => {
|
||||
renderComponent({ phase: RightPanelPhases.EncryptionPanel, room: mockRoom });
|
||||
expect(screen.getByRole("heading", { name: /encryption/i })).toBeInTheDocument();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue