mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
fix lint warning
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { describe, it, expect } from "vitest";
|
import { describe, it, expect } from "vitest";
|
||||||
import { quizQuestionMarkdownUtils } from "@/features/local/quizzes/models/utils/quizQuestionMarkdownUtils";
|
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", () => {
|
describe("feedback spacing", () => {
|
||||||
it("adds a blank line after feedback before answers", () => {
|
it("adds a blank line after feedback before answers", () => {
|
||||||
@@ -15,9 +15,9 @@ describe("feedback spacing", () => {
|
|||||||
correctComments: "Good",
|
correctComments: "Good",
|
||||||
incorrectComments: "No",
|
incorrectComments: "No",
|
||||||
neutralComments: "Note",
|
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
|
// look for double newline separating feedback block and answer marker
|
||||||
expect(md).toMatch(/\n\n\*?a\)/);
|
expect(md).toMatch(/\n\n\*?a\)/);
|
||||||
|
|||||||
Reference in New Issue
Block a user