feat(backend): Rendering van meerkeuzevragen en open vragen (essay) toegevoegd + getest
This commit is contained in:
parent
164a547dd1
commit
bc0ac63c92
20 changed files with 126 additions and 16 deletions
|
@ -3,6 +3,7 @@ import {LearningObject} from "../../../../src/entities/content/learning-object.e
|
|||
import {loadTestAsset} from "../../../test-utils/load-test-asset";
|
||||
import {EnvVars, getEnvVar} from "../../../../src/util/envvars";
|
||||
import {Language} from "../../../../src/entities/content/language";
|
||||
import {DwengoContentType} from "../../../../src/services/learning-objects/processing/content-type";
|
||||
|
||||
const example: LearningObjectExample = {
|
||||
createLearningObject: () => {
|
||||
|
@ -12,6 +13,7 @@ const example: LearningObjectExample = {
|
|||
learningObject.version = 1;
|
||||
learningObject.title = "Multiple choice question for testing";
|
||||
learningObject.description = "This multiple choice question was only created for testing purposes.";
|
||||
learningObject.contentType = DwengoContentType.GIFT;
|
||||
learningObject.content = loadTestAsset("learning-objects/test-multiple-choice/content.txt");
|
||||
return learningObject;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue