moving utils

This commit is contained in:
2024-11-15 11:12:28 -07:00
parent f3390217d5
commit b889ed6e22
35 changed files with 44 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
import { describe, it, expect } from "vitest";
import { parseHolidays } from "../settingsUtils";
import { parseHolidays } from "../utils/settingsUtils";
describe("can parse holiday string", () => {
it("can parse empty list", () => {

View File

@@ -5,7 +5,7 @@ import {
prepLectureForNewSemester,
prepPageForNewSemester,
prepQuizForNewSemester,
} from "../semesterTransferUtils";
} from "../utils/semesterTransferUtils";
import { LocalQuiz } from "../quiz/localQuiz";
import { LocalCoursePage } from "../page/localCoursePage";
import { Lecture } from "../lecture";

View File

@@ -1,5 +1,5 @@
import { describe, it, expect } from "vitest";
import { dateToMarkdownString, getDateFromString } from "../timeUtils";
import { dateToMarkdownString, getDateFromString } from "../utils/timeUtils";
describe("Can properly handle expected date formats", () => {
it("can use AM/PM dates", () => {