style: fix prettier
This commit is contained in:
committed by
Benoit TELLIER
parent
8160ed459a
commit
4d346751bf
@@ -653,7 +653,9 @@ describe("Event Full Display", () => {
|
||||
...preloadedState.calendars.list["667037022b752d0026472254/cal1"],
|
||||
events: {
|
||||
event1: {
|
||||
...preloadedState.calendars.list["667037022b752d0026472254/cal1"].events.event1,
|
||||
...preloadedState.calendars.list[
|
||||
"667037022b752d0026472254/cal1"
|
||||
].events.event1,
|
||||
start: fixedDate.toISOString(),
|
||||
end: new Date(fixedDate.getTime() + 3600000).toISOString(),
|
||||
timezone: "UTC",
|
||||
@@ -683,7 +685,9 @@ describe("Event Full Display", () => {
|
||||
expect(startInput).toBeInTheDocument();
|
||||
expect(startInput).toHaveAttribute("type", "datetime-local");
|
||||
// Validate proper datetime-local format (YYYY-MM-DDTHH:MM) without being too relaxed
|
||||
expect(startInput.getAttribute("value")).toMatch(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/);
|
||||
expect(startInput.getAttribute("value")).toMatch(
|
||||
/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/
|
||||
);
|
||||
|
||||
expect(screen.getByText("First Calendar")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -151,4 +151,3 @@ describe("EventUpdateModal Timezone Handling", () => {
|
||||
expect(titleInput).toHaveValue("Updated Event");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user