mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-11 20:12:16 +00:00
IGNORE: Formatting
This commit is contained in:
@@ -42,7 +42,7 @@ context("Tempus filter tests", () => {
|
||||
tempusPage.getCalendarEvents().should("have.length.greaterThan", 0);
|
||||
tempusPage.getCalendarEvents().each(($event) => {
|
||||
const eventData = tempusPage.getCalendarEventData($event);
|
||||
|
||||
|
||||
let eventRoom = eventData?.orig?.ort_kurzbz;
|
||||
if (Array.isArray(eventRoom)) eventRoom = eventRoom.length ? eventRoom[0] : "";
|
||||
|
||||
@@ -71,7 +71,7 @@ context("Tempus filter tests", () => {
|
||||
|
||||
let selectedRoom = JSON.parse(eventJSON)?.orig?.ort_kurzbz;
|
||||
if (Array.isArray(selectedRoom)) selectedRoom = selectedRoom.length ? selectedRoom[0] : "";
|
||||
console.log("Selected room:", selectedRoom);
|
||||
|
||||
expect(selectedRoom, "first event room").to.be.a("string").and.not.be
|
||||
.empty;
|
||||
expect(
|
||||
|
||||
Reference in New Issue
Block a user