fix(backend): Falende testen gerepareerd.
This commit is contained in:
parent
fc675710b4
commit
ba725f67b2
4 changed files with 13 additions and 24 deletions
|
@ -108,7 +108,7 @@ describe('QuestionRepository', () => {
|
|||
});
|
||||
});
|
||||
|
||||
function sortQuestions(questions: Question[]) {
|
||||
function sortQuestions(questions: Question[]): void {
|
||||
questions.sort((a, b) => {
|
||||
if (a.learningObjectHruid < b.learningObjectHruid) {return -1}
|
||||
else if (a.learningObjectHruid > b.learningObjectHruid) {return 1}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue