1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Fix tests

This commit is contained in:
David Baker
2024-05-07 14:16:16 +01:00
parent aedf578396
commit ae5d89fa84
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ describe("<UserSettingsDialog />", () => {
it("renders with session manager tab selected", () => {
const { getByTestId } = render(getComponent({ initialTabId: UserTab.SessionManager }));
expect(getByTestId(`settings-tab-${UserTab.SessionManager}`)).toBeTruthy();
expect(screen.getByRole("heading", { level: 1 })).toHaveTextContent("Settings: Sessions");
expect(screen.getByRole("heading", { level: 1 })).toHaveTextContent("Settings: Devices");
});
it("renders with appearance tab selected", () => {