Skip to content

Commit

Permalink
Resolved jest tests problems
Browse files Browse the repository at this point in the history
  • Loading branch information
uo289267 committed Apr 18, 2024
1 parent c51a18d commit 4c54efc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/components/questionView/QuestionGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class QuestionGenerator{
}

async generateQuestions(lang, type, amount) {

/*
try {
//const response = await fetch(this.apiUrl);
//const receivedQuestions = await response.json();
Expand All @@ -35,8 +35,8 @@ class QuestionGenerator{
throw new Error(error);
}
*/

/*
try {
let response;
if(type==="COMPETITIVE"){
Expand All @@ -55,7 +55,7 @@ class QuestionGenerator{
} catch (error) {
throw new Error(error);
}
*/

}

}
Expand Down

0 comments on commit 4c54efc

Please sign in to comment.