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

@@ -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");