mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
quiz names not in markdown anymore
This commit is contained in:
@@ -121,8 +121,7 @@ export const quizMarkdownUtils = {
|
||||
const questionDelimiter = "\n\n---\n\n";
|
||||
const questionMarkdown = questionMarkdownArray.join(questionDelimiter);
|
||||
|
||||
return `Name: ${quiz.name}
|
||||
LockAt: ${quiz.lockAt ?? ""}
|
||||
return `LockAt: ${quiz.lockAt ?? ""}
|
||||
DueAt: ${quiz.dueAt}
|
||||
Password: ${quiz.password ?? ""}
|
||||
ShuffleAnswers: ${quiz.shuffleAnswers.toString().toLowerCase()}
|
||||
|
||||
@@ -28,7 +28,7 @@ this is my description in markdown
|
||||
|
||||
const markdown = quizMarkdownUtils.toMarkdown(quiz);
|
||||
|
||||
expect(markdown).toContain("Name: Test Quiz");
|
||||
expect(markdown).not.toContain("Name: Test Quiz");
|
||||
expect(markdown).toContain(quiz.description);
|
||||
expect(markdown).toContain("ShuffleAnswers: true");
|
||||
expect(markdown).toContain("OneQuestionAtATime: false");
|
||||
|
||||
Reference in New Issue
Block a user