mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
Remove npm package-lock.json and use pnpm exclusively
Co-authored-by: alexmickelson <43245625+alexmickelson@users.noreply.github.com>
This commit is contained in:
@@ -131,7 +131,7 @@ describe("canvasQuizService", () => {
|
||||
describe("Question order verification (integration test concept)", () => {
|
||||
it("should detect correct question order", async () => {
|
||||
// This is a conceptual test showing what the verification should validate
|
||||
const localQuiz: LocalQuiz = {
|
||||
const _localQuiz: LocalQuiz = {
|
||||
name: "Test Quiz",
|
||||
description: "A test quiz",
|
||||
dueAt: "2023-12-01T23:59:00Z",
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import { describe, it, expect, vi, beforeEach } from "vitest";
|
||||
import { LocalQuiz } from "@/features/local/quizzes/models/localQuiz";
|
||||
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
|
||||
vi.mock("@/services/axiosUtils", () => ({
|
||||
@@ -122,6 +124,14 @@ describe("Quiz Order Verification Integration", () => {
|
||||
name: "Test Course",
|
||||
canvasId: 12345,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user