Remove npm package-lock.json and use pnpm exclusively

Co-authored-by: alexmickelson <43245625+alexmickelson@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-09-10 18:20:04 +00:00
parent efe2060fcd
commit b47fa4cff5
3 changed files with 11 additions and 10246 deletions

10245
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -131,7 +131,7 @@ describe("canvasQuizService", () => {
describe("Question order verification (integration test concept)", () => { describe("Question order verification (integration test concept)", () => {
it("should detect correct question order", async () => { it("should detect correct question order", async () => {
// This is a conceptual test showing what the verification should validate // This is a conceptual test showing what the verification should validate
const localQuiz: LocalQuiz = { const _localQuiz: LocalQuiz = {
name: "Test Quiz", name: "Test Quiz",
description: "A test quiz", description: "A test quiz",
dueAt: "2023-12-01T23:59:00Z", dueAt: "2023-12-01T23:59:00Z",

View File

@@ -1,6 +1,8 @@
import { describe, it, expect, vi, beforeEach } from "vitest"; import { describe, it, expect, vi, beforeEach } from "vitest";
import { LocalQuiz } from "@/features/local/quizzes/models/localQuiz"; import { LocalQuiz } from "@/features/local/quizzes/models/localQuiz";
import { QuestionType } from "@/features/local/quizzes/models/localQuizQuestion"; import { QuestionType } from "@/features/local/quizzes/models/localQuizQuestion";
import { DayOfWeek } from "@/features/local/course/localCourseSettings";
import { AssignmentSubmissionType } from "@/features/local/assignments/models/assignmentSubmissionType";
// Mock the dependencies // Mock the dependencies
vi.mock("@/services/axiosUtils", () => ({ vi.mock("@/services/axiosUtils", () => ({
@@ -122,6 +124,14 @@ describe("Quiz Order Verification Integration", () => {
name: "Test Course", name: "Test Course",
canvasId: 12345, canvasId: 12345,
assignmentGroups: [], assignmentGroups: [],
daysOfWeek: [DayOfWeek.Monday, DayOfWeek.Wednesday, DayOfWeek.Friday],
startDate: "2023-08-15",
endDate: "2023-12-15",
defaultDueTime: { hour: 23, minute: 59 },
defaultAssignmentSubmissionTypes: [AssignmentSubmissionType.ONLINE_TEXT_ENTRY],
defaultFileUploadTypes: [],
holidays: [],
assets: []
}); });
// Verify the quiz was created // Verify the quiz was created