mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
fix lint warning
This commit is contained in:
@@ -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\)/);
|
||||
|
||||
Reference in New Issue
Block a user