fix lint warning

This commit is contained in:
Adam Teichert
2025-12-18 15:17:15 -07:00
parent eb661a3e59
commit 52b8967949

View File

@@ -1,6 +1,6 @@
import { describe, it, expect } from "vitest";
import { quizQuestionMarkdownUtils } from "@/features/local/quizzes/models/utils/quizQuestionMarkdownUtils";
import { QuestionType } from "@/features/local/quizzes/models/localQuizQuestion";
import { QuestionType, LocalQuizQuestion } from "@/features/local/quizzes/models/localQuizQuestion";
describe("feedback spacing", () => {
it("adds a blank line after feedback before answers", () => {
@@ -15,9 +15,9 @@ describe("feedback spacing", () => {
correctComments: "Good",
incorrectComments: "No",
neutralComments: "Note",
} as any;
} as LocalQuizQuestion;
const md = quizQuestionMarkdownUtils.toMarkdown(question as any);
const md = quizQuestionMarkdownUtils.toMarkdown(question);
// look for double newline separating feedback block and answer marker
expect(md).toMatch(/\n\n\*?a\)/);