Fix/time picker glitch (#542)
* update twake-mui * #537 fix time picker glitch
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import SettingsPage from "@/features/Settings/SettingsPage";
|
||||
import { api } from "@/utils/apiUtils";
|
||||
import * as timezoneUtils from "@/utils/timezone";
|
||||
import "@testing-library/jest-dom";
|
||||
import { fireEvent, screen, waitFor } from "@testing-library/react";
|
||||
import { renderWithProviders } from "../../utils/Renderwithproviders";
|
||||
@@ -609,6 +610,8 @@ describe("SettingsPage", () => {
|
||||
},
|
||||
};
|
||||
|
||||
jest.spyOn(timezoneUtils, "getTimezoneOffset").mockReturnValue("UTC");
|
||||
|
||||
renderWithProviders(<SettingsPage />, stateWithoutTimeZone);
|
||||
|
||||
const timezoneInput = screen.getByDisplayValue("UTC (UTC)");
|
||||
|
||||
Reference in New Issue
Block a user