Skip to content

Commit

Permalink
Update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MathyouMB committed Oct 21, 2023
1 parent f799452 commit 3b6d087
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/data/Repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class Repository {
type: "MultipleChoice",
lab: null,
factory: null,
options: xmlQuestion["multiple-choice"].answer.map(
(xmlOption) => this.#transformXmlOptionToJson(xmlOption)
options: xmlQuestion["multiple-choice"].answer.map((xmlOption) =>
this.#transformXmlOptionToJson(xmlOption)
),
};
}
Expand Down
6 changes: 6 additions & 0 deletions app/src/data/tests/comp2804/midterm-fall-2013.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"id": "midterm-fall-2013",
"title": "TEMPORARY",
"author": "Michiel Smid",
"questions": ["comp2804/midterm-fall-2013/f13m01.xml"]
}

0 comments on commit 3b6d087

Please sign in to comment.