fix/squelch lint warnings so that image can build

This commit is contained in:
Adam Teichert
2025-12-16 22:42:49 -07:00
parent cef2323886
commit 3c6ba35bce
2 changed files with 2 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ import { useCourseListInTermQuery } from "@/features/canvas/hooks/canvasCourseHo
import { useCanvasTermsQuery } from "@/features/canvas/hooks/canvasHooks";
import { useDirectoryExistsQuery } from "@/features/local/utils/storageDirectoryHooks";
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const sampleCompose = `services:
canvas_manager:
image: alexmickelson/canvas_management:2 # pull this image regularly

View File

@@ -62,7 +62,7 @@ describe("navigationLogic", () => {
{ lectures: [{ date: "01/01/2023" }] },
{ lectures: [{ date: "01/02/2023" }, { date: "01/03/2023" }] },
];
const lectures = getOrderedLectures(weeks as any, courseName);
const lectures = getOrderedLectures(weeks, courseName);
expect(lectures).toHaveLength(3);
expect(lectures[0].url).toContain(encodeURIComponent("01/01/2023"));
expect(lectures[0].type).toBe("lecture");