From 4b1b7aa0ba6692878385ff04bb44927b5f442982 Mon Sep 17 00:00:00 2001 From: UrsKahmann Date: Tue, 12 Sep 2023 08:49:07 +0200 Subject: [PATCH] Fix Format #2 co-authored-by: hannesschaletzky lnschroeder --- src/lib/components/WeekView.svelte | 1 - tests/calendarEventUtils.test.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/components/WeekView.svelte b/src/lib/components/WeekView.svelte index 7333a1df..b10645be 100644 --- a/src/lib/components/WeekView.svelte +++ b/src/lib/components/WeekView.svelte @@ -8,7 +8,6 @@ getWeekNumberFor, } from "$lib/utils/dateUtils.js"; import { onMount } from "svelte"; - import { CalendarEventType } from "$lib/stores/transformCalendarEvents"; import { getItemForEventType } from "$lib/utils/calendarEventUtils.js"; // @ts-nocheck diff --git a/tests/calendarEventUtils.test.js b/tests/calendarEventUtils.test.js index 7360908d..993c90f4 100644 --- a/tests/calendarEventUtils.test.js +++ b/tests/calendarEventUtils.test.js @@ -6,7 +6,7 @@ import { import { CalendarEventType } from "$lib/stores/transformCalendarEvents"; -test("getItemForEventType should return correct icons", async ({}) => { +test("getItemForEventType should return correct icons", async () => { expect(getItemForEventType(CalendarEventType.Holiday)).toBe("wb_sunny"); expect(getItemForEventType(CalendarEventType.Training)).toBe("school"); expect(getItemForEventType(CalendarEventType.PaidVacation)).toBe( @@ -22,7 +22,7 @@ test("getItemForEventType should return correct icons", async ({}) => { expect(getItemForEventType("NonExistentEventType")).toBe("close"); }); -test("getDescriptionForEventType should return correct descriptions", async ({}) => { +test("getDescriptionForEventType should return correct descriptions", async () => { expect(getDescriptionForEventType(CalendarEventType.Holiday)).toBe( "Public holiday, working impossible" );