mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 15:18:32 -06:00
fix/squelch lint warnings so that image can build
This commit is contained in:
@@ -24,6 +24,7 @@ import { useCourseListInTermQuery } from "@/features/canvas/hooks/canvasCourseHo
|
|||||||
import { useCanvasTermsQuery } from "@/features/canvas/hooks/canvasHooks";
|
import { useCanvasTermsQuery } from "@/features/canvas/hooks/canvasHooks";
|
||||||
import { useDirectoryExistsQuery } from "@/features/local/utils/storageDirectoryHooks";
|
import { useDirectoryExistsQuery } from "@/features/local/utils/storageDirectoryHooks";
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
const sampleCompose = `services:
|
const sampleCompose = `services:
|
||||||
canvas_manager:
|
canvas_manager:
|
||||||
image: alexmickelson/canvas_management:2 # pull this image regularly
|
image: alexmickelson/canvas_management:2 # pull this image regularly
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ describe("navigationLogic", () => {
|
|||||||
{ lectures: [{ date: "01/01/2023" }] },
|
{ lectures: [{ date: "01/01/2023" }] },
|
||||||
{ lectures: [{ date: "01/02/2023" }, { date: "01/03/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).toHaveLength(3);
|
||||||
expect(lectures[0].url).toContain(encodeURIComponent("01/01/2023"));
|
expect(lectures[0].url).toContain(encodeURIComponent("01/01/2023"));
|
||||||
expect(lectures[0].type).toBe("lecture");
|
expect(lectures[0].type).toBe("lecture");
|
||||||
|
|||||||
Reference in New Issue
Block a user