Skip to content

Commit

Permalink
Fix Format #2
Browse files Browse the repository at this point in the history
co-authored-by: hannesschaletzky <[email protected]> lnschroeder <[email protected]>
  • Loading branch information
UrsKahmann and lnschroeder committed Sep 12, 2023
1 parent c63a149 commit 4b1b7aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/components/WeekView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/calendarEventUtils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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"
);
Expand Down

0 comments on commit 4b1b7aa

Please sign in to comment.