From a97af7873504430a31761f304d72b5a45d99c9b9 Mon Sep 17 00:00:00 2001 From: Mister-Mario Date: Mon, 8 Apr 2024 00:34:08 +0200 Subject: [PATCH] Deleting unnecessary mock --- .../questionView/mocks/QuestionGenerator.js | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 webapp/src/components/questionView/mocks/QuestionGenerator.js diff --git a/webapp/src/components/questionView/mocks/QuestionGenerator.js b/webapp/src/components/questionView/mocks/QuestionGenerator.js deleted file mode 100644 index 4dec7679..00000000 --- a/webapp/src/components/questionView/mocks/QuestionGenerator.js +++ /dev/null @@ -1,20 +0,0 @@ -export default class QuestionGenerator { - async generateQuestions() { - return [ - { - getQuestion: () => 'Mocked Question 1', - getAnswers: () => ['Mocked Answer 1', 'Mocked Answer 2','Mocked Answer 3', 'Mocked Answer 4'], - getCorrectAnswer: () => 'Mocked Answer 1' - }, - { - getQuestion: () => 'Mocked Question 2', - getAnswers: () => ['Mocked Answer 1', 'Mocked Answer 2','Mocked Answer 3', 'Mocked Answer 4'], - getCorrectAnswer: () => 'Mocked Answer 4' - },{ - getQuestion: () => 'Mocked Question 3', - getAnswers: () => ['Mocked Answer 1', 'Mocked Answer 2','Mocked Answer 3', 'Mocked Answer 4'], - getCorrectAnswer: () => 'Mocked Answer 2' - } - ]; - } - } \ No newline at end of file