Butchering the UI framework

This commit is contained in:
Pieter Vander Vennet 2021-06-10 01:36:20 +02:00
parent 8d404b1ba9
commit 6415e195d1
90 changed files with 1012 additions and 3101 deletions

View file

@ -27,7 +27,7 @@ export default class TagQuestionSpec extends T {
}, undefined, "Testing tag"
);
const questionElement = new TagRenderingQuestion(tags, config);
const html = questionElement.InnerRender();
const html = questionElement.InnerRenderAsString();
T.assertContains("What is the name of this bookcase?", html);
T.assertContains("<input type='text'", html);
}],
@ -53,7 +53,7 @@ export default class TagQuestionSpec extends T {
}, undefined, "Testing tag"
);
const questionElement = new TagRenderingQuestion(tags, config);
const html = questionElement.InnerRender();
const html = questionElement.InnerRenderAsString();
T.assertContains("What is the name of this bookcase?", html);
T.assertContains("This bookcase has no name", html);
T.assertContains("<input type='text'", html);